Exemplo n.º 1
0
 internal Response <List <ProductFeeAccountingResult> > GetFeeAccountingList(int?issuerId, int pageIndex, int rowsPerPage, long auditUserId, string auditWorkstation)
 {
     try
     {
         var results = _cardManService.GetFeeAccountingList(issuerId, pageIndex, rowsPerPage, auditUserId, auditWorkstation);
         return(new Response <List <ProductFeeAccountingResult> >(results, ResponseType.SUCCESSFUL,
                                                                  "",
                                                                  ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <List <ProductFeeAccountingResult> >(null,
                                                                  ResponseType.ERROR,
                                                                  "Error when processing request.",
                                                                  log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }