private static LaddersModel BuildTestModel(int numPlayers, int numSlots, int numLocations) { LaddersModel model = new LaddersModel(); for (int i = 1; i <= numPlayers; i++) { string name = "Player " + i; model.AddPlayer(new Player() { Email = name, Name = name }); } for (int hour = 16; hour < numSlots + 16; hour++) { for (int locationId = 1; locationId <= numLocations; locationId++) { string location = "Bana " + locationId; var timeSlot = new TimeSlot(DayOfWeek.Tuesday, hour, 0, location); model.AddTimeSlot(timeSlot); } } return model; }