public virtual void ScheduleMovie(Movie movie, DateTime date)
 {
     Schedules.Add(new MovieSchedule(movie, date));
 }
 public MovieSchedule(Movie movie, DateTime startTime)
 {
     this.Movie = movie;
     this.StarTime = startTime;
 }
예제 #3
0
 public void ScheduleMovie(Movie movie, DateTime startTime)
 {
     var schedule = new MovieSchedule(movie, startTime);
     this.Schedules.Add(schedule);
 }