예제 #1
0
 public TaskViewModel(ITaskController controller, string id)
 {
     _controller = controller;
     Task        = _controller.LoadTask(id).GetAwaiter().GetResult();
     Tasks       = new ObservableCollection <TaskText>(Task.List);
 }