public async Task <CustomReturn <IList <Event> > > GetFavoriteEventsAsync()
        {
            var service = new UserRest();
            var result  = await service.GetFavoriteEventsAsync();

            return(result);
        }
Example #2
0
        public async Task <IList <Event> > GetFavoriteEventsAsync()
        {
            var service = new UserRest();
            var items   = await service.GetFavoriteEventsAsync();

            return(items.OrderBy(o => o.Name).ToList());
        }