示例#1
0
 /// <summary>
 /// Load list of notes and total count of notes from Server and de-serialize it (async)
 /// </summary>
 public Task <Tuple <IEnumerable <Note>, int> > LoadAndCalculateTotalCountAsync(
     PageFilter pageFilter, SortFilter sortFilter)
 {
     return(GetAndCalculateCountTaskAsync <IEnumerable <Note> >(
                BaseUrl + "?" + pageFilter.ToQueryString() + "&" + sortFilter.ToQueryString()));
 }
示例#2
0
 /// <summary>
 /// Load list of notes from Server and de-serialize it (async)
 /// </summary>
 public Task <IEnumerable <Note> > LoadTaskAsync(PageFilter pageFilter, SortFilter sortFilter)
 {
     return(GetTaskAsync <IEnumerable <Note> >(BaseUrl + "?" + pageFilter.ToQueryString()
                                               + "&" + sortFilter.ToQueryString()));
 }