forked from ddrilling/AsbCloudServer
22 lines
1.0 KiB
C#
22 lines
1.0 KiB
C#
using AsbCloudApp.Data;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface IWellService
|
|
{
|
|
Task<IEnumerable<WellDto>> GetWellsByCompanyAsync(int idCompany, CancellationToken token);
|
|
Task<int> UpdateWellAsync(int idWell, string caption = default,
|
|
double latitude = default, double longitude = default, int idWellType = default,
|
|
int state = default, CancellationToken token = default);
|
|
Task<IEnumerable<WellDto>> GetTransmittingWellsAsync(int idCompany, CancellationToken token);
|
|
Task<bool> IsCompanyInvolvedInWellAsync(int idCompany, int idWell, CancellationToken token);
|
|
Task<string> GetWellCaptionByIdAsync(int idWell, CancellationToken token);
|
|
Task<IEnumerable<CompanyDto>> GetCompaniesAsync(int idWell, CancellationToken token);
|
|
Task<WellDto> GetAsync(int idWell, CancellationToken token);
|
|
bool IsCompanyInvolvedInWell(int idCompany, int idWell);
|
|
}
|
|
}
|