public IActionResult GetAllPlayers() { IEnumerable <ServerSidePlayer> players = _registry.GetAllPlayers(); return(base.Ok(new GetAllPlayersResponse { Players = GetOverviewFromPlayer(players), })); }
public IActionResult GetAllPlayers() { List <ServerSidePlayerOverview> result = playerRegistry.GetAllPlayers(); return(base.Ok(result)); }