public ActionResult Deletar(int id) { var tarefaDomainService = new TarefaDominioService(); tarefaDomainService.Deletar(id); return RedirectToAction("Index"); }
public ActionResult Deletar(int id) { var tarefaDomainService = new TarefaDominioService(); tarefaDomainService.Deletar(id); return RedirectToAction("Index"); }