コード例 #1
0
        public void Query(HomePageSectionQueryVM queryVM, PagingInfo p, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            var queryFilter = queryVM.ConvertVM <HomePageSectionQueryVM, HomePageSectionQueryFilter>();

            queryFilter.CompanyCode = CPApplication.Current.CompanyCode;
            queryFilter.PagingInfo  = p;
            string relativeUrl = "/MKTService/HomePageSection/Query";

            restClient.QueryDynamicData(relativeUrl, queryFilter, callback);
        }
コード例 #2
0
 public override void OnPageLoad(object sender, EventArgs e)
 {
     base.OnPageLoad(sender, e);
     _queryVM = new HomePageSectionQueryVM();
     this.DataContext = _queryVM;
 }