public Task ExecuteTask(Action action) { return(Task.Run(() => { _projectTask.NewProject(); action(); _workspace.CloseProject(); })); }
public void Execute() { _projectTask.NewProject(); }