Ignore:
Timestamp:
12/08/25 21:51:12 (10 months ago)
Author:
Stefan-Saveski <stefan@…>
Branches:
master
Children:
bb656bc
Parents:
a92a2a4
Message:

Refactor and enhance application structure

Enhanced error handling in AuthController with detailed exception handling for user registration. Updated UserDTO to improve JSON serialization and renamed enums for clarity. Introduced new entities (Major, PassedSubject, etc.) and seeded initial data in AppDbContext.

Replaced legacy migrations with 20251208203846_InitialCreate, reflecting the updated schema. Fixed typographical errors and improved JSON serialization in Program.cs with case-insensitive property matching and enum handling.

Refactored repository interfaces for better null safety. Improved debugging in AuthService and updated connection strings. Added the PassedSubject entity and cleaned up redundant code and unused imports for better maintainability.

File:
1 edited

Legend:

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

    ra92a2a4 rc2f79d7  
    11using iknow_api.DTOs;
    2 using iknow_api.DTOs;
     2using iknow_api.Models;
    33namespace iknow_api.Services
    44{
     
    99        Task<int> GetUsersCountAsync();
    1010        Task<AuthResultDto> GenerateNewJWT(VerifyRefreshTokenDto token);
     11       
    1112    }
    1213}
Note: See TracChangeset for help on using the changeset viewer.