public IEnumerable <MedicalRecord.Model.MedicalRecord> GetAllMedicalRecords()
        {
            MedicalRecordContext        context = HttpContext.RequestServices.GetService(typeof(MedicalRecordContext)) as MedicalRecordContext;
            GetAllMedicalRecordsHandler handler = new GetAllMedicalRecordsHandler(context);

            return(handler.Handle());
        }
Ejemplo n.º 2
0
 public MedicineService(MedicalRecordContext context)
 {
     _context = context;
 }
Ejemplo n.º 3
0
 public DoctorService(MedicalRecordContext context)
 {
     _context = context;
 }
 public GetAllMedicalRecordsHandler(MedicalRecordContext context)
 {
     _context = context;
 }
Ejemplo n.º 5
0
 public SnapshotService(MedicalRecordContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public AllergyService(MedicalRecordContext context)
 {
     _context = context;
 }
 public InstructionService(MedicalRecordContext context)
 {
     _context = context;
 }
Ejemplo n.º 8
0
 public AnamnesisService(MedicalRecordContext context)
 {
     _context = context;
 }
 public VaccinationStatusService(MedicalRecordContext context)
 {
     _context = context;
 }