Ejemplo n.º 1
0
 public MovieEntry(int theatre, string title, Showtime showing)
 {
     Theatre  = theatre;
     Title    = title;
     Showings = new List <Showtime>();
     Showings.Add(showing);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public void AddTime(Showtime time)
 {
     Showings.Add(time);
 }