Exemplo n.º 1
0
 public async Task <IActionResult> DeleteConfirmed(int id)
 {
     _dbAccess.DeleteRout(id);
     _dbAccess.SaveChanges();
     return(RedirectToAction(nameof(Index)));
 }