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