public async Task <ResultEntity> Delete(int idPatient) { try { var result = await _patientRepository.Delete(idPatient); return(result); } catch (Exception ex) { throw ex; } }