Exemplo n.º 1
0
        public async Task <IActionResult> PastRecord(int?playerId)
        {
            ViewBag.Name = "Past Record";
            if (playerId == null)
            {
                return(NotFound());
            }

            var playerPastRecord = await _players.GetPlayerPastRecordByPlayerId(playerId);

            return(View(playerPastRecord));
        }