예제 #1
0
        public async Task <IEnumerable <Event> > GetEventsAsync(EventFilter filter)
        {
            var url = QueryStringUrl.GetUrl("/event", filter.ToQueryStringDictionary());

            return(await _httpClient.GetListAsync <eventreadables, eventreadable, Event>(url, x => x.eventreadable, Event.FromNative));
        }