using AsbCloudApp.Data; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IDrillingProgramService { Task> GetAvailableUsers(int idWell, CancellationToken token = default); Task> GetCategoriesAsync(CancellationToken token = default); Task GetStateAsync(int idWell, int idUser, CancellationToken token = default); Task AddFile(int idWell, int idFileCategory, int idUser, string fileFullName, System.IO.Stream fileStream, CancellationToken token = default); Task AddPartsAsync(int idWell, IEnumerable idFileCategories, CancellationToken token = default); Task RemovePartsAsync(int idWell, IEnumerable idFileCategories, CancellationToken token = default); Task AddUserAsync(int idWell, int idFileCategory, int idUser, int idUserRole, CancellationToken token = default); Task RemoveUserAsync(int idWell, int idFileCategory, int idUser, int idUserRole, CancellationToken token = default); Task AddOrReplaceFileMarkAsync(FileMarkDto fileMarkDto, int idUser, CancellationToken token); Task MarkAsDeletedFileMarkAsync(int idFileMark, CancellationToken token); void ClearError(int idWell); } }