public async Task <MedicalRecord> FindByPatientIdAsync(int id) { return(await _medicalRecordRepository.FindByPatientIdAsync(id)); }