コード例 #1
0
        public IActionResult GetTeam(int teamId)
        {
            var team = _repo.GetTeam(teamId);

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

            return(Ok(ModelsMapping.GetTeamDto(team)));
        }