public async Task <IList <Event> > GetAsync(int cityId, string search = "", int skip = 0, int take = Constants.Pagination.Take) { var service = new EventRest(); var items = await service.GetAsync(cityId, search, skip, take); return(items.OrderBy(o => o.Name).ToList()); }
public async Task <Event> GetAsync(Guid eventId) { var service = new EventRest(); var item = await service.GetAsync(eventId); return(item); }