// GET: Home public ActionResult Index() { ContactRepository repos = new ContactRepository(); var contacts = repos.GetAll(); return View(contacts); }