private void EditTaskListCommandHandler(TaskList taskList) { // For the task list being edited : create a clone we can modify. (for rollback purposes) CurrentTaskList = taskList.Clone(); // Let's set the current view mode to edition or consultation. IsEditing = !IsEditing; }