mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 23:13:22 +00:00
14 lines
662 B
C#
14 lines
662 B
C#
|
|
using Data.SeaHavenIndustries;
|
||
|
|
|
||
|
|
namespace SeaHaven.DataServices.Interfaces
|
||
|
|
{
|
||
|
|
public interface ICommonDataService
|
||
|
|
{
|
||
|
|
Task<(IEnumerable<ApplicationUser> Items, int TotalCount)> GetUsersPagedAsync(int page, int pageSize, string search, CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<string?>> GetRoleNamesAsync(CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<Locations>> GetSiteNamesAsync(CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<Contacts>> GetContactsAsync(CancellationToken cancellationToken);
|
||
|
|
Task<IEnumerable<Category>> GetCategoriesAsync(CancellationToken cancellationToken);
|
||
|
|
}
|
||
|
|
}
|