public async Task <ActionResult <IEnumerable <EventDto> > > Get()
        {
            var events = await eventProviderService.GetAllValidEvents();

            List <EventDto> eventDtos = _mapper.Map <List <EventDto> >(events);

            return(eventDtos);
        }
        public async Task <ActionResult <IEnumerable <BannerDto> > > Get()
        {
            var events = await eventProviderService.GetAllValidEvents();

            var bannerDtos = new List <BannerDto>();
            var count      = 0;

            foreach (var item in events.Where(x => x.ShowAsBanner).ToList())
            {
                bannerDtos.Add(new BannerDto()
                {
                    ImageUrl = item.EventBanner,
                    Title    = item.EventName,
                    ID       = count++
                });
            }

            return(bannerDtos);
        }