Commit Graph

3 Commits (ab56bf3c205d7ba2cfbd67a2213410191a12bf9c)

Author SHA1 Message Date
Amir Hossein Khademi 1a813edf6a Update to .NET 9, add patient features, and refactor
Updated target framework to .NET 9 across multiple projects and updated package references. Refactored `HospitalController` to use MediatR commands. Introduced new patient-related functionalities including new API endpoints, commands, queries, and DTOs. Removed user-related properties from medical history mappings. Added new handlers for patient creation, retrieval, and section updates.
2025-01-12 11:22:32 +03:30
Amir Hossein Khademi b3ca3c51ea Refactor services and add MediatR for medical histories
- Updated MedicalHistoryController to use MediatR for commands/queries
- Refactored methods in MedicalHistoryController to use expression-bodied members
- Added HospitalId property to CurrentUserService
- Removed UniversityId claims handling from JwtService
- Updated AccountService to handle Student entities with UniversityId and SectionId
- Removed IMedicalHistoryService interface and its implementation
- Removed UniversityId and SectionId handling from UserService
- Added SectionId property to SignUpRequestDto
- Refactored MedicalHistory entity to remove personal information properties
- Added CreateMedicalHistoryCommand, UpdateMedicalHistoryCommand, and DeleteMedicalHistoryCommand
- Added command handlers for medical history commands
2024-12-27 09:53:55 +03:30
Amir Hossein Khademi ae1e8859c0 Change DATABASE 2024-09-28 12:34:36 +03:30