public async Task <List <TodoItem> > GetItemsNotDoneAsync() { var result = await Data.ListAsync <TodoItem>(DefaultPartitions.AppDocuments); return(result.Select(r => r.DeserializedValue).Where(item => !item.Done).ToList()); }
public async Task <List <TodoItem> > GetItemsAsync() { var result = await Data.ListAsync <TodoItem>(DefaultPartitions.UserDocuments); return(result.Select(r => r.DeserializedValue).ToList()); }