예제 #1
0
 public IActionResult GetCategoriaGasto()
 {
     try
     {
         var prov = service.GetAllCategoriaGasto();
         return(Ok(prov));
     }
     catch (Exception ex)
     {
         AltivaLog.Log.Insertar(ex.ToString(), "Error");
         return(BadRequest());
     }
 }