public ActionResult Apagar(int id) { var apagou = repository.Apagar(id); return(RedirectToAction("Index")); }