Beispiel #1
0
 public Response <List <product_currency1> > GetCurreniesbyProduct(int Productid)
 {
     try
     {
         return(new Response <List <product_currency1> >(_cardManService.GetCurreniesbyProduct(Productid),
                                                         ResponseType.SUCCESSFUL, "", ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new Response <List <product_currency1> >(null,
                                                         ResponseType.ERROR,
                                                         "Error when processing request.",
                                                         log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }