mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-03 16:19:46 +00:00
12 lines
454 B
C#
12 lines
454 B
C#
using ShoppingAssistantApi.Application.Models.CreateDtos;
|
|
using ShoppingAssistantApi.Application.Models.Dtos;
|
|
using ShoppingAssistantApi.Application.Paging;
|
|
|
|
namespace ShoppingAssistantApi.Application.IServices;
|
|
|
|
public interface IRolesService
|
|
{
|
|
Task<RoleDto> AddRoleAsync(RoleCreateDto dto, CancellationToken cancellationToken);
|
|
|
|
Task<PagedList<RoleDto>> GetRolesPageAsync(int pageNumber, int pageSize, CancellationToken cancellationToken);
|
|
} |