public ActionResult AddHallMovie(AddHallMovieModel AddHallMovieModel, DateTime begintime, DateTime endtime)
        {
            if (ModelState.IsValid)
            {
                AddHallMovieModel.AllHalls      = IHallRepository.GetAllHalls();
                AddHallMovieModel.AllMovies     = IMovieRepository.GetAllMovies().Where(m => m.RunTime > DateTime.Now);
                AddHallMovieModel.AllHallMovies = IHallMovieRepository.GetAllHallMovies();

                HallMovie HallMovie = new HallMovie()
                {
                    DateTime    = begintime,
                    DateTimeEnd = endtime,
                    Hall        = IHallRepository.GetOneHall(AddHallMovieModel.HallID),
                    Movie       = IMovieRepository.GetOneMovie(AddHallMovieModel.MovieID),
                    HallID      = AddHallMovieModel.HallID,
                    MovieID     = AddHallMovieModel.MovieID,
                    LadiesNight = false
                };

                if (HallMovie.DateTime < HallMovie.Movie.RunTime && HallMovie.DateTimeEnd < HallMovie.Movie.RunTime)
                {
                    if (HallMovie.DateTime > DateTime.Now && HallMovie.DateTimeEnd > DateTime.Now)
                    {
                        if (IHallMovieRepository.AddOneHallMovie(HallMovie) == HallMovie)
                        {
                            ViewBag.AddedHallmovie = "Voorstelling toegevoegd: " + IMovieRepository.GetOneMovie(AddHallMovieModel.MovieID).Title + " in zaal " + AddHallMovieModel.HallID + " op " + HallMovie.DateTime.ToShortDateString();
                            return(View("~/Views/Account/AccountViews/BackOfficeAccountOptions/AddHallMovie.cshtml", AddHallMovieModel));
                        }
                        else
                        {
                            HallMovie existing = IHallMovieRepository.AddOneHallMovie(HallMovie);
                            AddHallMovieModel.AllHallMovies = IHallMovieRepository.GetAllHallMovies();
                            ViewBag.ExistingHallmovie       = "Er is al een voorstelling in deze zaal op " + existing.DateTime.ToShortDateString() + ": " + existing.Movie.Title + " in zaal " + existing.HallID + " tussen " + existing.DateTime.ToShortTimeString() + " en " + existing.DateTimeEnd.ToShortTimeString();
                            return(View("~/Views/Account/AccountViews/BackOfficeAccountOptions/AddHallMovie.cshtml", AddHallMovieModel));
                        }
                    }
                    else
                    {
                        ViewBag.PlannedPast = "Het is niet mogelijk om een film in het verleden te plannen";
                        return(View("~/Views/Account/AccountViews/BackOfficeAccountOptions/AddHallMovie.cshtml", AddHallMovieModel));
                    }
                }
                else
                {
                    ViewBag.RunTimeEnded = "Film draait tot " + HallMovie.Movie.RunTime + " in de bioscoop, inplannen van " + HallMovie.DateTime + " tot " + HallMovie.DateTimeEnd + " gaat dus niet.";
                    return(View("~/Views/Account/AccountViews/BackOfficeAccountOptions/AddHallMovie.cshtml", AddHallMovieModel));
                }
            }
            else
            {
                return(View("~/Views/Account/AccountViews/BackOfficeAccountOptions/AddHallMovie.cshtml", AddHallMovieModel));
            }
        }