public ActionResult RemoverFuncionario(string fnc) { FuncionariosDAO daoF = new FuncionariosDAO(); daoF.Remover(daoF.BuscaPorNome(fnc)); return(RedirectToAction("Index")); }
public ActionResult RemoverFuncionario(string fnc) { FuncionariosDAO daoF = new FuncionariosDAO(); daoF.Remover(daoF.BuscaPorNome(fnc)); return(RedirectToAction("Index")); }