public void Query(CouponCodeRedeemLogQueryFilterVM filterVM, EventHandler <RestClientEventArgs <dynamic> > callback)
 {
     if (!filterVM.HasValidationErrors)
     {
         string relativeUrl = "/MKTService/Coupons/QueryCustomerRedeemLog";
         CouponCodeRedeemLogFilter filter = filterVM.ConvertVM <CouponCodeRedeemLogQueryFilterVM, CouponCodeRedeemLogFilter>();
         restClient.QueryDynamicData(relativeUrl, filter, (obj, args) =>
         {
             if (args.FaultsHandle())
             {
                 return;
             }
             callback(obj, args);
         });
     }
 }
 public CouponCodeRedeemLogFacade(IPage page, CouponCodeRedeemLogQueryFilterVM vm)
 {
     restClient = new RestClient(ServiceBaseUrl, page);
     _ViewModel = vm;
 }