public GameController(IAddGameCommand createGame, IGetGamesQuery getGame, IGetSingleGameQuery getSingleGame, IEditGameCommand editGame, IDeleteGameCommand deleteGame, ProjekatContext context) { this.getGame = getGame; this.editGame = editGame; this.createGame = createGame; this.deleteGame = deleteGame; this.getSingleGame = getSingleGame; this.context = context; }
public GamesController(IAddGameCommand addGame) { _addGame = addGame; }