Spaces:
Running
Running
File size: 543 Bytes
b9c7f0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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);
}
}
|