18 lines
566 B
C#
18 lines
566 B
C#
using SolarPower.Models.PowerStation;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SolarPower.Repository.Interface
|
|
{
|
|
public interface IPowerStationRepository : IRepositoryBase<PowerStation>
|
|
{
|
|
Task<int> AddOperation(OperationInfo operation, List<string> properties);
|
|
Task<List<OperationTable>> OperationTable (int stationId);
|
|
Task<OperationInfo> OneOperationInfo (int stationId);
|
|
Task UpdateOperation(OperationInfo operation, List<string> properties);
|
|
|
|
}
|
|
}
|