|
Last change
on this file since 8e32210 was cb8e531, checked in by stefansaveski <stefansaveski19@…>, 11 months ago |
|
Refactor DTOs and remove user management
Updated AuthController to use RegisterDto and LoginDto for more specific DTO usage in registration and login methods. Removed UsersController and its methods, indicating a refactor or removal of user management functionality. Replaced UserDto with LoginDto, RegisterDto, and UserResponseDto in UserDTO.cs, and introduced a UserRole enum. Updated AuthService to use new DTOs and adjusted JWT token configuration. Removed UserService and IUserService, suggesting a redesign or deprecation of user service functionality. Updated IAuthService to align with AuthService changes.
|
-
Property mode
set to
100644
|
|
File size:
256 bytes
|
| Line | |
|---|
| 1 | using iknow_api.DTOs;
|
|---|
| 2 |
|
|---|
| 3 | namespace iknow_api.Services
|
|---|
| 4 | {
|
|---|
| 5 | public interface IAuthService
|
|---|
| 6 | {
|
|---|
| 7 | Task<bool> RegisterAsync(RegisterDto registerDto);
|
|---|
| 8 | Task<string?> LoginAsync(LoginDto loginDto);
|
|---|
| 9 | Task<int> GetUsersCountAsync();
|
|---|
| 10 | }
|
|---|
| 11 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.