Esempio n. 1
0
        public async Task <IActionResult> Detail(int id)
        {
            var evt = await eventsRepository.FindByIdAsync(id);

            if (evt != null)
            {
                return(View(evt));
            }

            return(NotFound());
        }