File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ private void NavigateToTaskList()
2626 {
2727 var tasksList = new TasksList (
2828 taskRepository ,
29- taskListViewModel ,
30- taskCreationViewModel ) ;
29+ taskListViewModel ) ;
3130 Content . Content = tasksList ;
3231 }
3332
Original file line number Diff line number Diff line change @@ -10,17 +10,14 @@ public partial class TasksList : UserControl
1010{
1111 private readonly ITaskRepository taskRepository ;
1212 private readonly TaskListViewModel viewModel ;
13- private readonly TaskCreationViewModel taskCreationViewModel ;
1413
1514 public TasksList (
1615 ITaskRepository taskRepository ,
17- TaskListViewModel viewModel ,
18- TaskCreationViewModel taskCreationViewModel )
16+ TaskListViewModel viewModel )
1917 {
2018 this . taskRepository = taskRepository ;
2119 this . viewModel = viewModel ;
2220 DataContext = viewModel ;
23- this . taskCreationViewModel = taskCreationViewModel ;
2421
2522 InitializeComponent ( ) ;
2623 Tasks . ItemsSource = viewModel . Tasks ;
You can’t perform that action at this time.
0 commit comments