Beispiel #1
0
        public List <EventViewModel> GetCurrentEvent()
        {
            List <Event>          eventList      = _IEventRepo.GetCurrentEvent();
            List <EventViewModel> eventviewmodel = _mapper.Map <List <EventViewModel> >(eventList);

            return(eventviewmodel);

            //  return eventList;
        }