public static void TicketSale(Screening s, int num) { if(s.CheckCapacity(num)) { s.Occupency += num; } }
public static void AddScreening(Screening s) { if(Screenings.ContainsKey(s.Showing)) { Screenings[s.Showing].Add(s); return; } Screenings.Add(s.Showing, new List<Screening>() { s } ); }