Beispiel #1
0
        private void UpdateSupplierOrder()
        {
            if (SelectedSupplierOrder == null)
            {
                MessagesService.Show("Обновление заявки на участие", "Заявка на участие не выбрана");
                return;
            }

            SupplierOrderDetailsVM.UpdateSupplierOrderView(SelectedSupplierOrder.id);
            SupplierOrderDetailsVis = Visibility.Visible;
        }
Beispiel #2
0
        private void Init()
        {
            SupplierOrderDetailsVis = Visibility.Collapsed;
            SupplierOrderDetailsVM  = new SupplierOrderDetailsVM(new SupplierOrderView()
            {
                id = 0
            });
            ProcuratoriesListVM = new ProcuratoriesListVM(auction);

            if (auction.Id == 0)
            {
            }
            else
            {
                SupplierOrdersList = SupplierOrderService.ReadSupplierOrders(auction.Id);
            }
        }