public AddTaskVM(ExecutorsVM executorsVM, ITaskRepository taskRepository) { ExecutorsVM = executorsVM; _repo = taskRepository; RegisterCommand("Add", x => _AddTask()); executorsVM.Filtered.ListChanged += Filtered_ListChanged; }
public RootVM(TasksVM tasks, ExecutorsVM users) { users.FullInfoRequired(); TasksVM = tasks; UsersVM = users; }