public ActionResult Remover(int id) { var dao = new CargoDAO(); Cargo cargo = dao.BuscaPorIdWhere(id); dao.Remover(cargo); return(RedirectToAction("Index")); }