Example #1
0
 internal Response <ProductChargeResult> GetCurrentFees(int feeDetailId, int currencyId, int CardIssueReasonId, string CBSAccountType, long auditUserId, string auditWorkstation)
 {
     try
     {
         var results = _cardManService.GetCurrentFees(feeDetailId, currencyId, CardIssueReasonId, CBSAccountType, auditUserId, auditWorkstation);
         return(new Response <ProductChargeResult>(results, ResponseType.SUCCESSFUL,
                                                   "",
                                                   ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <ProductChargeResult>(null,
                                                   ResponseType.ERROR,
                                                   "Error when processing request.",
                                                   log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }