2021-08-11 16:54:42 +05:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
2021-08-02 11:39:39 +05:00
|
|
|
|
{
|
|
|
|
|
public interface ILastDataService<Tdto>
|
|
|
|
|
{
|
2021-08-11 16:54:42 +05:00
|
|
|
|
Task<Tdto> GetAsync(int idWell, int idCategory,
|
|
|
|
|
CancellationToken token);
|
2021-08-11 17:41:51 +05:00
|
|
|
|
Task<int> UpsertAsync(int idWell, int idCategory, Tdto value,
|
2021-08-11 16:54:42 +05:00
|
|
|
|
CancellationToken token);
|
2021-08-02 11:39:39 +05:00
|
|
|
|
}
|
|
|
|
|
}
|