public void Execute(object parameter) { var project = new Project {Name = _viewModel.AddProjectViewModel.Name}; _viewModel.Projects.Add(project); _viewModel.CurrentProject = project; _viewModel.AddProjectViewModel.CloseSignal = true; }
public SelectOutputFileCommand(Project project) { _project = project; }