// GET: Hosts public ActionResult Index() { HostsService catService = new HostsService(); var hosts = catService.GetAll(); return(View(hosts)); }