public IActionResult AddBudget([FromBody] BudgetEntity budget) { try { return(Ok(budgetsService.Add(budget))); } catch (Exception e) { log.LogError(e.Message + "\nin:" + e.StackTrace); return(Problem(null)); } }