internal BaseResponse UpdateFeeCharges(int feeDetailId, List <FeeChargeResult> fees, int languageId, long auditUserId, string auditWorkstation) { try { string responseMessage; if (_cardManService.UpdateFeeCharges(feeDetailId, fees, 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 : "")); } }