How isamattia23/yashfeenmedical works
YashfeenMedical is a medical-practice backend for account and clinical-data management, including doctor and patient profiles, appointments, records, prescriptions, billing, and file handling. The principal workflow is an API request routed through a controller to business services and, for persisted operations, repositories and the EF database context. Authentication and recycle-bin handling are distinct capabilities. Several business modules are represented from the file tree and SOURCE INDEX rather than inspected excerpts, so their internal calls are not expanded; edges are limited to relationships supported by the supplied evidence.
Main entry points: UnitOfWork.cs Unit of work · Controllers API controllers · AuthServices.cs Authentication · RecycleBinService.cs Recycle bin
Components 18
API entry
- API controllers
YashfeenMedical/Controllers
Clinical workflows
- Appointments
YashfeenMedical.BLL/Services/AppointmentServices.cs - Doctor management
YashfeenMedical.BLL/Services/DoctorServices.cs - Patient management
YashfeenMedical.BLL/Services/PatientServices.cs - Specialties
YashfeenMedical.BLL/Services/SpecialtyServices.cs - Medical records
YashfeenMedical.BLL/Services/MedicalRecordServices.cs - Prescriptions
YashfeenMedical.BLL/Services/PrescriptionServices.cs - Invoices
YashfeenMedical.BLL/IServices/IInvoiceServices.cs
Data access
- Unit of work
YashfeenMedical.DAL/Repositories/UnitOfWork.cs - Repository layer
YashfeenMedical.DAL/Repositories/TRepository.cs - Clinical database
YashfeenMedical.DAL/ApplicationDbContext.cs
Identity and access
- Authentication
YashfeenMedical.BLL/Services/AuthServices.cs - User management
YashfeenMedical.Infrastructure/UsersManagment/UserManagmentServices.cs - JWT service
YashfeenMedical.Infrastructure/JWT/JwtService.cs
Files and recovery
- Recycle bin
YashfeenMedical.BLL/RecycleBin/RecycleBinService.cs - File storage
YashfeenMedical.Infrastructure/FileStorage/LocalFileStorageService.cs - Email service
YashfeenMedical.Infrastructure/Email/IEmailService.cs
Other components
- API client
Connections 18
- API client → API controllers: sends requests
- API controllers → Appointments: calls
YashfeenMedical/Controllers/AppointmentController.cs - API controllers → Doctor management: calls
YashfeenMedical/Controllers/DoctorController.cs - API controllers → Patient management: calls
YashfeenMedical/Controllers/PatientsController.cs - Authentication → User management: manages accounts
YashfeenMedical.BLL/Services/AuthServices.cs - Authentication → JWT service: issues tokens
YashfeenMedical.BLL/Services/AuthServices.cs - Authentication → Unit of work: uses
YashfeenMedical.BLL/Services/AuthServices.cs - Patient management → Unit of work: uses
- Doctor management → Unit of work: uses
YashfeenMedical.BLL/Services/DoctorServices.cs - Appointments → Unit of work: uses
- Medical records → Unit of work: uses
- Prescriptions → Unit of work: uses
- Unit of work → Repository layer: exposes repositories
- Repository layer → Clinical database: queries and saves
YashfeenMedical.DAL/Repositories/TRepository.cs - Clinical database → File storage
- Recycle bin → Clinical database: reads entities
YashfeenMedical.BLL/RecycleBin/RecycleBinService.cs - Recycle bin → File storage: handles files
- Recycle bin → User management: handles users