using Data.SeaHavenIndustries; using SeaHaven.DataServices.Dto; namespace SeaHaven.DataServices.Interfaces { public interface ISettingsDataService { Task AddCategoryAsync(string name, CancellationToken cancellationToken); Task UpdateCategoryAsync(int id, string name, CancellationToken cancellationToken); Task DeleteCategoryCascadeAsync(int id, CancellationToken cancellationToken); Task<(IReadOnlyList Items, int Total)> GetCategoryListPagedAsync(int page, int pageSize, CancellationToken cancellationToken); Task<(IReadOnlyList Items, int Total)> GetTemplatesPagedAsync(int page, int pageSize, CancellationToken cancellationToken); Task<(IReadOnlyList Users, int Total)> GetUsersPagedAsync(string? search, int page, int pageSize, CancellationToken cancellationToken); Task> GetRoleNamesAsync(CancellationToken cancellationToken); } }