using AsbCloudApp.Data; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IWellService: ICrudService { Task> GetWellsByCompanyAsync(int idCompany, CancellationToken token); Task IsCompanyInvolvedInWellAsync(int idCompany, int idWell, CancellationToken token); Task GetWellCaptionByIdAsync(int idWell, CancellationToken token); //TODO: remove that Task> GetCompaniesAsync(int idWell, CancellationToken token); bool IsCompanyInvolvedInWell(int idCompany, int idWell); string GetStateText(int state); DateTime GetLastTelemetryDate(int idWell); Task> GetClusterWellsIdsAsync(int idWell, CancellationToken token); } }