2021-04-02 17:28:07 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System.Collections.Generic;
|
2021-08-11 16:54:42 +05:00
|
|
|
|
using System.Threading;
|
2021-08-11 12:11:21 +05:00
|
|
|
|
using System.Threading.Tasks;
|
2021-04-02 17:28:07 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IWellService
|
|
|
|
|
{
|
2021-08-11 16:54:42 +05:00
|
|
|
|
Task<IEnumerable<WellDto>> GetWellsByCompanyAsync(int idCompany, CancellationToken token);
|
|
|
|
|
Task<IEnumerable<WellDto>> GetTransmittingWellsAsync(int idCompany, CancellationToken token);
|
|
|
|
|
Task<bool> IsCompanyInvolvedInWellAsync(int idCompany, int idWell, CancellationToken token);
|
2021-08-25 11:13:56 +05:00
|
|
|
|
Task<string> GetWellCaptionByIdAsync(int idWell, CancellationToken token);
|
|
|
|
|
Task<IEnumerable<CompanyDto>> GetCompaniesAsync(int idWell, CancellationToken token);
|
2021-08-29 17:25:16 +05:00
|
|
|
|
Task<WellDto> GetAsync(int idWell, CancellationToken token);
|
2021-10-12 16:07:08 +05:00
|
|
|
|
bool IsCompanyInvolvedInWell(int idCompany, int idWell);
|
2021-04-02 17:28:07 +05:00
|
|
|
|
}
|
|
|
|
|
}
|