Exemplo n.º 1
0
 public IActionResult GetAll()
 {
     try
     {
         var result = _AppointmentServices.GetAll();
         return(new ObjectResult(result));
     }
     catch (System.Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }