/// <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())); }
/// <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())); }