예제 #1
0
 public void GetUserTasks()
 {
     TaskProxy taskProxy = new TaskProxy();
     TaskAdapter taskAdapter = new TaskAdapter();
     tasks = taskAdapter.GetTasks(taskProxy.GetUserTasks("564ce3525e5ca90003000005", AuthenticationControl.AccessToken)).OrderBy(t => t.DeliveryDate).ToList();
     Tasks = new ObservableCollection<Model.Task>(tasks);
 }
예제 #2
0
 public void GetTaskDetails(Model.Task task)
 {
     TaskProxy taskProxy = new TaskProxy();
     TaskAdapter taskAdapter = new TaskAdapter();
     SelectedTask = taskAdapter.GetTask(taskProxy.GetTaskDetails(task.ID));
 }