public IEnumerable <MedicalRecord.Model.MedicalRecord> GetAllMedicalRecords() { MedicalRecordContext context = HttpContext.RequestServices.GetService(typeof(MedicalRecordContext)) as MedicalRecordContext; GetAllMedicalRecordsHandler handler = new GetAllMedicalRecordsHandler(context); return(handler.Handle()); }
public MedicineService(MedicalRecordContext context) { _context = context; }
public DoctorService(MedicalRecordContext context) { _context = context; }
public GetAllMedicalRecordsHandler(MedicalRecordContext context) { _context = context; }
public SnapshotService(MedicalRecordContext context) { _context = context; }
public AllergyService(MedicalRecordContext context) { _context = context; }
public InstructionService(MedicalRecordContext context) { _context = context; }
public AnamnesisService(MedicalRecordContext context) { _context = context; }
public VaccinationStatusService(MedicalRecordContext context) { _context = context; }