public async Task <IActionResult> DeleteConfirmed(int id)
        {
            await _sistemaRepository.Remover(id);

            return(RedirectToAction(nameof(Index)));
        }
Esempio n. 2
0
 public void Remover(int id)
 {
     _sistemaRepository.Remover(id);
     Commit();
 }