Spaces:
Running
Running
| 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); | |
| } | |
| } | |