Spaces:
Running
Running
Download FlowAPI.Application/Interfaces/IUserService.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IUserService.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI@c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IUserService.cs
-
curl -L -o IUserService.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/c8301b4e0f289c0e69fa026bb49f7828aec1850d/FlowAPI.Application/Interfaces/IUserService.cs
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); | |
| } | |
| } | |