get list of all tasks

Feb 25, 2016 at 8:02 AM
looking at the source code test project i have found a routeen that gets a list of the projects and increments throught them and adds the nbame to the tree view.

what i carnt seem to find is a way to get a list of all tasks and add them to the tree view

private async void button1_Click(object sender, EventArgs e)
  if (baseclient == null) InitBaseClient();
  var data = await new ProjectHandler(baseclient).GetAllProjectsAsync();
  Projects = data.projects;
  foreach (var item in data.projects)


something like above but for tasks.