void IPCGames.registrarPCGame(int codigo, string descripcion) { PCGames cc = new PCGames(codigo, descripcion); PCGamesDAO ccDAO = new PCGamesDAO(); ccDAO.registrarPCGame(cc); }
List<PCGamesEntity.PCGames> IPCGames.listarPCGame() { PCGamesDAO ccDAO = new PCGamesDAO(); var result = ccDAO.listarPCGames(); return result; }