public IActionResult DeleteConfirmed(Guid id) { _consumoRepository.Remove(id); _uow.SaveChanges(); return(RedirectToAction(nameof(Index))); }
public IActionResult DeleteConfirmed(Guid id) { _consumoRepository.Remove(id); _uow.SaveChanges(); return(RedirectToAction(nameof(Index))); }