Ejemplo n.º 1
0
 public IActionResult EditBudget([FromBody] BudgetEntity budget)
 {
     try
     {
         return(Ok(budgetsService.Edit(budget)));
     }
     catch (Exception e)
     {
         log.LogError(e.Message + "\nin:" + e.StackTrace);
         return(Problem(null));
     }
 }