Пример #1
0
        public void BatchUpdate(BatchUpdatePMVM view, EventHandler <RestClientEventArgs <object> > callback)
        {
            string relativeUrl = "/IMService/ProductLine/BatchUpdate";

            restClient.Update(relativeUrl, view, (obj, args) =>
            {
                callback(obj, args);
            });
        }
Пример #2
0
        public UCBatchUpdateProductLine()
        {
            InitializeComponent();

            Loaded += new RoutedEventHandler(UCBatchUpdateProductLine_Loaded);

            this.VM              = new BatchUpdatePMVM();
            this.VM.InUser       = CPApplication.Current.LoginUser.DisplayName;
            this.VM.CompanyCode  = CPApplication.Current.CompanyCode;
            this.VM.LanguageCode = CPApplication.Current.LanguageCode;
        }