using AsbCloudApp.Data; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface ILastDataService { Task> GetCategoriesAsync(CancellationToken token); Task> GetHisoryAsync(int idWell, int idCategory, CancellationToken token); Task> GetAllLastAsync(int idWell, CancellationToken token); Task InsertAsync(int idWell, LastDataDto data, CancellationToken token); Task UpdateAsync(int idWell, LastDataDto data, CancellationToken token); Task MarkAsDeleteAsync(int idWell, int idData, CancellationToken token); Task DeleteAsync(int idWell, int idData, CancellationToken token); } }