Esempio n. 1
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            base.OnPageLoad(sender, e);
            _Facade = new GroupBuyingLotteryFacade(this);
            _VM     = new GroupBuyingLotteryQueryVM();

            this.DataContext = _VM;
        }
Esempio n. 2
0
        public void Query(GroupBuyingLotteryQueryVM vm, PagingInfo pagingInfo, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            var data = vm.ConvertVM <GroupBuyingLotteryQueryVM, GroupBuyingLotteryQueryFilter>();

            data.PagingInfo = pagingInfo;
            string relativeUrl = "/MKTService/GroupBuyingLottery/Query";

            restClient.QueryDynamicData(relativeUrl, data, callback);
        }