Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public GamesController(IAddGameCommand addGame)
 {
     _addGame = addGame;
 }