Ejemplo n.º 1
0
        public async Task <IActionResult> FilteredById(Guid?eventId)
        {
            throw new NotImplementedException("Test-Error");

            if (!eventId.HasValue)
            {
                return(NotFound());
            }

            var model = await _showService.GetAllByEventAsync(eventId.Value);

            if (model == null)
            {
                return(NotFound());
            }

            return(View("Index", model));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> FilteredById(Guid?eventId)
        {
            if (!eventId.HasValue)
            {
                return(NotFound());
            }

            var model = await _showService.GetAllByEventAsync(eventId.Value);

            if (model == null)
            {
                return(NotFound());
            }

            return(View("Index", model));
        }