Ignore:
Timestamp:
10/22/25 23:34:14 (11 months ago)
Author:
stefansaveski <stefansaveski19@…>
Branches:
master
Children:
9538edc
Parents:
277bd72
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Services/Interfaces/IAuthService.cs

    r277bd72 rc7d4a59  
    55    public interface IAuthService
    66    {
    7         Task<bool> RegisterAsync(UserDto userDto);
    8         Task<string?> LoginAsync(UserDto userDto);
     7        Task<bool> RegisterAsync(RegisterDto registerDto);
     8        Task<string?> LoginAsync(LoginDto loginDto);
    99        Task<int> GetUsersCountAsync();
    1010    }
Note: See TracChangeset for help on using the changeset viewer.