public IActionResult DeleteCashflowSubCategory([FromRoute] int id) { try { VerifyUser(); _service.DeleteBudgetCashflowSubCategories(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)); } }