public MedicalRecord GetEntity(int id)
 {
     return(medicalRecordRepository.GetEntity(id));
 }