public ActionResult GetPlayer(string nbaId) { var player = _playerRepo.GetPlayerNbaId(nbaId); if (player == null) { return(NotFound()); } return(Ok(player)); }