public IEnumerable <MedicalRecord.Model.FullMedicalRecord> GetFullMedicalRecordsByDoctorId(int doctorId) { FullMedicalRecordContext context = HttpContext.RequestServices.GetService(typeof(FullMedicalRecordContext)) as FullMedicalRecordContext; GetFullMedicalRecordsByDoctorIdHandler handler = new GetFullMedicalRecordsByDoctorIdHandler(context); return(handler.Handle(doctorId)); }
public GetFullMedicalRecordByIdHandler(FullMedicalRecordContext context) { _context = context; }
public GetFullMedicalRecordsByDoctorIdHandler(FullMedicalRecordContext context) { _context = context; }
public GetAllFullMedicalRecordsHandler(FullMedicalRecordContext context) { _context = context; }