Ejemplo n.º 1
0
        private void UpdateLot()
        {
            if (SelectedLot == null)
            {
                MessagesService.Show("Обновление лота", "Лот не выбран");
                return;
            }

            LotDetailsVM.UpdateLotView(SelectedLot.Id);
            LotDetailsVis = Visibility.Visible;
        }
Ejemplo n.º 2
0
        private void Init()
        {
            LotDetailsVis = Visibility.Collapsed;
            LotDetailsVM  = new LotDetailsVM(new Lot()
            {
                Id = 0
            });

            if (auction.Id == 0)
            {
            }
            else
            {
                LotsList = LotService.ReadLots(auction.Id);
            }
        }