FIC_Solar/SolarPower/Repository/Interface/IOverviewRepository.cs
2021-07-06 20:25:51 +08:00

21 lines
717 B
C#

using SolarPower.Models;
using SolarPower.Models.PowerStation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SolarPower.Repository.Interface
{
public interface IOverviewRepository : IRepositoryBase<Overview>
{
Task<List<int>> GetAllCityIdAsync();
Task<Overview> GetOverviewByPowerStationIds(List<int> powerStationIds);
Task<List<CapacityDataTable>> GetCapacityDataTableByPowerStationIds(List<int> powerStationIds);
Task<List<PowerStation>> GetListPowerStationByPowerStationIds(List<int> powerStationIds);
Task<List<PowerStation>> GetSolarByCity(MyUser User, UseStatusCityGetPowerStation post);
}
}