using AsbCloudApp.Data.Subsystems; using AsbCloudApp.Requests; using AsbCloudApp.Services; using AsbCloudApp.Services.Subsystems; using AsbCloudDb.Model; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudInfrastructure.Services.Subsystems { internal class SubsystemOperationTimeService : ISubsystemOperationTimeService { private readonly IAsbCloudDbContext db; private readonly IWellService wellService; public SubsystemOperationTimeService(IAsbCloudDbContext db, IWellService wellService) { this.db = db; this.wellService = wellService; } public async Task> GetSubsystemAsync(int? idWell, CancellationToken token) { var result = new List() { new SubsystemDto() { Id = 1, Name = "test1", Description = "test desription1" }, new SubsystemDto() { Id = 2, Name = "test2", Description = "test desription2" }, new SubsystemDto() { Id = 3, Name = "test3", Description = "test desription3" } }; return result; } public async Task DeleteAsync(SubsystemOperationTimeRequest request, CancellationToken token) { throw new NotImplementedException(); } public Task> GetOperationTimeAsync(SubsystemOperationTimeRequest request, CancellationToken token) { throw new NotImplementedException(); } Task> ISubsystemOperationTimeService.GetStatisticAsync(SubsystemOperationTimeRequest request, CancellationToken token) { throw new NotImplementedException(); } } }