Beispiel #1
0
        public async Task <ActionResult> Details(int id)
        {
            var stadium = await _stadionService.GetById(id);

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

            StadiumVM stadiumVM = _mapper.Map <StadiumVM>(stadium);

            return(View(stadiumVM));
        }