/// <summary> /// Action para renderizar a página inicial do projeto. /// </summary> /// <returns></returns> public ActionResult Index() { IndexNoticiasViewModel model = new IndexNoticiasViewModel(); NoticiaRepository _noticiaRepository = new NoticiaRepository(); model.NoticiaList = _noticiaRepository.FindAll().ToList(); return View(model); }