Ejemplo n.º 1
0
 private async Task <HospitalTable> GetHospitalTableById(long id)
 {
     try
     {
         return(await _hospitalRepository.GetByIdAsync(id));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }