public IActionResult Get()
 {
     try
     {
         return(Ok(UsuarioBusiness.FindAll()));
     }
     catch (Exception msg)
     {
         return(BadRequest("ERROR IN PROCESS THE REQUEST" + msg.Message));
     }
 }
Exemple #2
0
 public IActionResult Get()
 {
     return(Ok(_usuarioBusiness.FindAll()));
 }