public IActionResult DeleteConfirmed(Guid id)
 {
     _repository.Remove(id);
     return(RedirectToAction(nameof(Index)));
 }
 public ActionResult DeleteConfirmed(int id)
 {
     tarefaRepository.Remove(id);
     return(RedirectToAction("Index"));
 }