Ejemplo n.º 1
0
        private void DoShowTariffCmd()
        {
            TariffView      tariffView = new TariffView();
            TariffViewModel TariffVM   = new TariffViewModel(_UnitOfWork, tariffView);

            tariffView.DataContext = TariffVM;

            tariffView.ShowDialog();

            if (tariffView.DialogResult.HasValue && tariffView.DialogResult.Value)
            {
                RefreshList(_selectedMonthId);
            }
        }
Ejemplo n.º 2
0
        private void DoShowTariffCmd()
        {
            TariffView tariffView = new TariffView();
            TariffViewModel TariffVM = new TariffViewModel(_UnitOfWork, tariffView);
            tariffView.DataContext = TariffVM;

            tariffView.ShowDialog();

            if (tariffView.DialogResult.HasValue && tariffView.DialogResult.Value)
            {
                RefreshList(_selectedMonthId);
            }

        }