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