public async Task <IActionResult> Ticket(int matchId)
        {
            var match = await _matchService.GetById(matchId);

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

            if (DateTime.Now >= match.Start || DateTime.Now.AddMonths(1) < match.Start.Date)
            {
                return(NotFound());
            }

            var msls = await _mslService.GetByMatchId(matchId);

            var mslsVM = _mapper.Map <List <MSLVM> >(msls);

            var matchVM   = _mapper.Map <MatchVM>(match);
            var stadiumVM = _mapper.Map <StadiumVM>(match.Stadium);
            var shopInfo  = new ShopTicketInfoVM()
            {
                MSLs    = mslsVM,
                Match   = matchVM,
                Stadium = stadiumVM
            };

            return(View(shopInfo));
        }
        public async Task <ActionResult> Details(int id)
        {
            var match = await _matchService.GetById(id);

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

            var msl = await _mslService.GetByMatchId(match.Id);

            var mslVM      = _mapper.Map <List <MSLVM> >(msl);
            var matchVM    = _mapper.Map <MatchVM>(match);
            var stadiumVM  = _mapper.Map <StadiumVM>(match.Stadium);
            var detailInfo = new MatchInfo()
            {
                MSL     = mslVM,
                Match   = matchVM,
                Stadium = stadiumVM
            };

            return(View(detailInfo));
        }