Exemple #1
0
 public static void TicketSale(Screening s, int num)
 {
     if(s.CheckCapacity(num))
      {
     s.Occupency += num;
      }
 }
Exemple #2
0
 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 } );
 }