Beispiel #1
0
 public MovieEntry(int theatre, string title, Showtime showing)
 {
     Theatre  = theatre;
     Title    = title;
     Showings = new List <Showtime>();
     Showings.Add(showing);
 }
Beispiel #2
0
 public MovieEntry(int id, int theatre, string title, Showtime time, int seats, string posterpath)
 {
     Id             = id;
     Theatre        = theatre;
     Title          = title;
     Time           = time;
     SeatsAvailable = seats;
     PosterPath     = posterpath;
 }
Beispiel #3
0
 public void AddTime(Showtime time)
 {
     Showings.Add(time);
 }