// GET: Habitat/Details/5 public ActionResult Details(int id) { ViewBag.habitat = repo.FindHabitat(id); return(View()); }