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); }
public void GetTaskDetails(Model.Task task) { TaskProxy taskProxy = new TaskProxy(); TaskAdapter taskAdapter = new TaskAdapter(); SelectedTask = taskAdapter.GetTask(taskProxy.GetTaskDetails(task.ID)); }