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