shopping-assistant-api/ShoppingAssistantApi.Application/IServices/IRolesService.cs
2023-09-22 23:02:20 +03:00

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);
}