/// <summary> /// Gets all completed task async. /// </summary> /// <returns>The all completed task async.</returns> public async Task <IList <TodoItem> > GetAllCompletedTaskAsync() { IList <TodoItem> items = null; try { items = await _repo.GetAllCompletedTaskAsync(); } catch (Exception ex) { Debug.WriteLine(ex); } return(items); }