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