mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-03 16:19:46 +00:00
18 lines
628 B
C#
18 lines
628 B
C#
using ShoppingAssistantApi.Application.Models.Dtos;
|
|
using ShoppingAssistantApi.Application.Paging;
|
|
|
|
namespace ShoppingAssistantApi.Application.IServices;
|
|
|
|
public interface IUsersService
|
|
{
|
|
Task AddUserAsync(UserDto dto, CancellationToken cancellationToken);
|
|
|
|
Task<PagedList<UserDto>> GetUsersPageAsync(int pageNumber, int pageSize, CancellationToken cancellationToken);
|
|
|
|
Task<UserDto> GetUserAsync(string id, CancellationToken cancellationToken);
|
|
|
|
Task UpdateUserAsync(UserDto dto, CancellationToken cancellationToken);
|
|
|
|
Task DeletePersonalUserAsync(string guestId, CancellationToken cancellationToken);
|
|
}
|