// GET: Habitat public ActionResult Index() { ViewBag.animalCount = repo.GetAllHabitats(); return(View()); }