예제 #1
0
        public async Task <ActionResult <List <Event> > > GetEventsItems()
        {
            var GetEvents = await Event.GetAllEventListAsync();

            foreach (var item in GetEvents)
            {
            }
            //return await _context.TodoItems.ToListAsync();
            return(await Event.GetAllEventListAsync());
        }
예제 #2
0
        public async Task <IActionResult> SpecialEvent()
        {
            var Date = await FEventServices.GetAllEventListAsync();

            var Obj = new WebEvento.ViewModel.InformationViewModel();

            Obj.EventList = Date.ToList();


            return(View(Obj));
        }