Commit Graph

2 Commits (ab56bf3c205d7ba2cfbd67a2213410191a12bf9c)

Author SHA1 Message Date
Amir Hossein Khademi ab56bf3c20 Downgrade target frameworks and update dependencies
- Downgraded target frameworks from net9.0 to net8.0 in multiple projects.
- Updated package references to older versions across various projects.
- Added and updated using directives in several files for better dependency management.
- Modified `Student` entity to make `SectionId` nullable and updated related methods.
- Introduced new migration files to reflect schema changes in the database.
- Added new `ValidationException` and `ValidationBehavior` classes for improved validation handling.
- Updated `launchUrl` in `launchSettings.json` to include `/swagger/v1`.
- Reformatted constructor parameters in `Patient.cs` for better readability.
- Removed `Sections` property from `University.cs`.
- Changed `PatientId` and `Patient` properties in `MedicalHistory.cs` to internal.
2025-01-12 12:16:24 +03:30
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