danylokhodus's picture
init
b9c7f0e
Raw
History Blame Contribute Delete
543 Bytes
using FlowAPI.Application.DTOs.User;
namespace FlowAPI.Application.Interfaces
{
public interface IUserService
{
Task<IEnumerable<UserResponseDto>> GetAllAsync();
Task<UserResponseDto?> GetByIdAsync(Guid id);
Task<AuthResponseDto> RegisterAsync(CreateUserDto dto);
Task<AuthResponseDto?> LoginAsync(LoginDto dto);
Task<AuthResponseDto> GoogleLoginAsync(GoogleLoginDto dto);
Task<UserResponseDto?> UpdateAsync(Guid id, UpdateUserDto dto);
Task<bool> DeleteAsync(Guid id);
}
}