public IActionResult GetTeam(int teamId) { var team = _repo.GetTeam(teamId); if (team == null) { return(NotFound()); } return(Ok(ModelsMapping.GetTeamDto(team))); }
public IActionResult GetTeam(int teamId) { var team = _repo.GetTeam(teamId); if (team == null) { return(NotFound()); } return(Ok(ModelsMapping.GetTeamDto(team))); }