public override bool Equals(object obj)
        {
            if (obj is TimeTableCreator)
            {
                TimeTableCreator comparedTimeTableCreator = (TimeTableCreator)obj;

                return(WorkDay.Equals(comparedTimeTableCreator.WorkDay) &&
                       BestTimeTable.Equals(comparedTimeTableCreator.BestTimeTable));
            }
            else
            {
                return(false);
            }
        }
 public TimeTableCreator(IEnumerable <Movie> movies, WorkDay workDay)
 {
     Movies        = movies;
     WorkDay       = workDay;
     BestTimeTable = new TimeTable(WorkDay.TimeLeft);
 }
 public CinemaHall(WorkDay workDay, ObservableCollection <Movie> movies)
 {
     WorkDay = workDay;
     Movies  = movies;
 }