Exemple #1
0
        public AddTaskVM(ExecutorsVM executorsVM, ITaskRepository taskRepository)
        {
            ExecutorsVM = executorsVM;
            _repo       = taskRepository;

            RegisterCommand("Add", x => _AddTask());
            executorsVM.Filtered.ListChanged += Filtered_ListChanged;
        }
Exemple #2
0
 public RootVM(TasksVM tasks, ExecutorsVM users)
 {
     users.FullInfoRequired();
     TasksVM = tasks;
     UsersVM = users;
 }