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