Exemplo n.º 1
0
 public IActionResult DeleteConfirmed(Guid id)
 {
     _consumoRepository.Remove(id);
     _uow.SaveChanges();
     return(RedirectToAction(nameof(Index)));
 }