internal BaseResponse DeleteFeeAccounting(int feeAccountingId, int languageId, long auditUserId, string auditWorkstation) { try { string responseMessage; if (_cardManService.DeleteFeeAccounting(feeAccountingId, languageId, auditUserId, auditWorkstation, out responseMessage)) { return(new BaseResponse(ResponseType.SUCCESSFUL, responseMessage, "")); } return(new BaseResponse(ResponseType.UNSUCCESSFUL, responseMessage, responseMessage)); } catch (Exception ex) { log.Error(ex); return(new BaseResponse(ResponseType.ERROR, "Error when processing request.", log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : "")); } }