Example #1
0
        public ActionResult Exhibitors(EventAddress eventAddress, int pageIndex, int pageSize)
        {
            var @event = eventService.GetEvent(eventAddress);

            var criteria = new ExhibitorFilterCriteria
            {
                Event     = @event,
                PageIndex = pageIndex,
                PageSize  = pageSize
            };

            var exhibitors = exhibitorService.GetExhibitors(eventAddress, criteria);


            return(View(new OxiteViewModelItems <Exhibitor>(exhibitors)));
        }