예제 #1
0
        public async Task <ActionResult <Player> > Get(string playerId)
        {
            var player = await _wvuFootballRepository.GetPlayerById(playerId);

            if (player == null)
            {
                return(new NotFoundResult());
            }

            return(player);
        }