public void Invoke(IGames ser) { int index = Menu.IndexGames(); Console.Write("Delete game: "); ser.Delete(index); }
public async Task <ActionResult <GamesDTO> > DeleteGames(int id) { await _games.Delete(id); return(NoContent()); }
public void Invoke(IGames ser) { int index = Menu.IndexGames(); Console.Write("Delete game: "); ser.Delete(index); }
public async Task <ActionResult <GamesDTO> > DeleteGames(int id) { await _games.Delete(id); return(NoContent()); }