public IActionResult GetCashflowTypeById(int id) { try { var result = _service.GetBudgetCashflowTypeById(id); return(Ok(new { apiVersion = ApiVersion, statusCode = General.OK_STATUS_CODE, message = General.OK_MESSAGE, data = result })); } catch (Exception e) { return(StatusCode(General.INTERNAL_ERROR_STATUS_CODE, e.Message + " " + e.StackTrace)); } }