FIC_Solar/SolarPower/Services/Implement/MyPowerStationService.cs
2021-08-31 10:21:06 +08:00

27 lines
823 B
C#

using SolarPower.Models;
using SolarPower.Models.PowerStation;
using SolarPower.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SolarPower.Services.Implement
{
public class MyPowerStationService
{
private readonly IPowerStationRepository powerStationRepository;
public MyPowerStationService(IPowerStationRepository powerStationRepository)
{
this.powerStationRepository = powerStationRepository;
}
public List<PowerStation> GetMyPowerStations(MyUser myUser, List<int> CityIds = null, List<string> wheres = null, List<OrderBy> orderBy = null)
{
List<PowerStation> powerStations = new List<PowerStation>();
return powerStations;
}
}
}