Beispiel #1
0
        public void AddSessionInList(int sessionId, Film filmSession, Hall hallSession, DateTime dateSession, TimeSpan timeSession)
        {
            Session session = new Session(sessionId, filmSession, hallSession, dateSession, timeSession);

            Sessions.Add(session);
        }
Beispiel #2
0
        public void AddHallInList(int hallId, string hallName, int seatingCapacity, int placesInRow)
        {
            Hall hall = new Hall(hallId, hallName, seatingCapacity, placesInRow);

            Halls.Add(hall);
        }