public IActionResult DeleteCashflowCategory([FromRoute] int id) { try { VerifyUser(); _service.DeleteBudgetCashflowCategories(id); return(NoContent()); } catch (Exception e) { var result = new ResultFormatter(ApiVersion, General.INTERNAL_ERROR_STATUS_CODE, e.Message) .Fail(); return(StatusCode(General.INTERNAL_ERROR_STATUS_CODE, result)); } }