public AppointmentsPageViewModel() { _viewModel = new AppointmentsViewModel(); _allAppointments = _viewModel.AllAppointments; _appointmentsForDisplay = _allAppointments; _receptionist = new Receptionist(); _windowFactory = new ProductionWindowFactory(); }
private void SelectMethod() { ProductionWindowFactory f = new ProductionWindowFactory(); Залы z = _ctx.Залы.FirstOrDefault(a => a.ID == SelectedSeans.IDЗала); App.A = SelectedSeans.ID; App.B = _ctx.азмерыЗалов.FirstOrDefault(b => b.ID == z.IDРазмера).КоличествоРядов.Value; f.CreateNewWindow(); }