public virtual ActionResult Excluir(int id, object diff) { TUser.Delete(id); return(RedirectToAction("Index")); }
public virtual ActionResult Excluir(int id, object diff) { TUser.Delete(id); TempData["Alerta"] = new Alert("success", "Usuário excluído com sucesso"); return(RedirectToAction("Index")); }