public class Show { public string Title {get; set;} public DateTime ShowDate {get; set;} public DateTime ShowHour {get; set;} public List Seats {get; set;} public int MinutesDuration {get; set;} public int MinimumAge {get; set;} public string Description {get; set;} public Show(){} public Show(string title, DateTime day, DateTime hour, int numberOfSeats, int minutesDuration, int minimumAge, string description) { Title = title; ShowDate = day; ShowHour = hour; Seats = new List(); MinutesDuration = minutesDuration; MinimumAge = minimumAge; Description = description; Seats = new List(); for(int i = 1; i <= numberOfSeats; i++) { if(i <= 50) { Seats.Add(new Seat(i)); } else if(i <= 80) { Seats.Add(new Seat(i, "Babetta", SeatTypes.Premium)); } else if(i <= 100) { Seats.Add(new Seat(i, "Estera", SeatTypes.Premium)); } } } }