public static List <Player> GetAllPlayers() { return(JsonManager.DeserializeJson().Players.OrderBy(p => p.Id).ToList()); }
public static Player GetPlayersById(int id) { return(JsonManager.DeserializeJson().Players.Find(p => p.Id == id)); }