// GET: Beast/Details/5
        public ActionResult Details(int id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            var beast = new BeastVM(_beastrepo.Get(id));

            if (beast == null)
            {
                return(HttpNotFound());
            }
            return(View(beast));
        }
        public ActionResult AddCheckedAnimal()
        {
            BeastVM beastie     = null;
            var     temp        = _boekingRepository.TempBooking;
            var     id          = int.Parse(Request.Form.Get("BeastID"));
            var     beastieList = _boekingRepository.AnimalsBooked().ToList();

            foreach (var item in beastieList)
            {
                if (id == item.ID)
                {
                    beastie = item;
                }
            }
            if (beastie == null)
            {
                beastie = new BeastVM(_beastrepo.Get(id));
            }
            if (beastieList.Contains(beastie))
            {
                beastieList.Remove(beastie);
                temp.Beast = beastieList;
                _boekingRepository.TempBooking = temp;
                if (!_boekingRepository.PolarLionExists())
                {
                    _beastrepo.ExcludeFarm = false;
                }
                if (!_boekingRepository.FarmExists())
                {
                    _beastrepo.ExcludePolarLion = false;
                }
                InfoBar();
                return(RedirectToAction("Step1"));
            }

            if (beastie.Name == "Leeuw" || beastie.Name == "Ijsbeer")
            {
                _beastrepo.ExcludeFarm = true;
            }
            if (beastie.Type == "Boerderij")
            {
                _beastrepo.ExcludePolarLion = true;
            }
            beastieList.Add(beastie);
            temp.Beast = beastieList;
            _boekingRepository.TempBooking = temp;
            InfoBar();

            return(RedirectToAction("Step1"));
        }