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