public List <PacienteDto> Listar(PacienteDto pacienteDto = null)
 {
     try
     {
         return(pacienteRepository.Listar(pacienteDto));
     }
     catch (BusinessException ex)
     {
         throw ex;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public ActionResult Listar()
 {
     return(Ok(pacienteRepository.Listar()));
 }