2024-07-04 11:02:45 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
2022-12-23 14:35:23 +05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Repositories
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сервис информации о кустах
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDepositRepository
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// список месторождений, доступных для пользователя
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<DepositDto>> GetAsync(int idCompany,
|
|
|
|
|
CancellationToken token);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список кустов месторождения доступных компании
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idCompany"></param>
|
|
|
|
|
/// <param name="depositId"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<ClusterDto>> GetClustersAsync(int idCompany,
|
|
|
|
|
int depositId, CancellationToken token);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|