Пример #1
0
 public GameService(
     AppSettings appSettings,
     ActionButtonGameDbContext database,
     IPlayerService playerService,
     IPositiveGameEventService positiveGameEventService,
     INegativeGameEventService negativeGameEventService,
     IItemService itemService,
     IPlayerItemService playerItemService)
 {
     _appSettings              = appSettings;
     _database                 = database;
     _playerService            = playerService;
     _positiveGameEventService = positiveGameEventService;
     _negativeGameEventService = negativeGameEventService;
     _itemService              = itemService;
     _playerItemService        = playerItemService;
 }
Пример #2
0
 public EventController(IPositiveGameEventService positiveGameEventService,
                        INegativeGameEventService negativeGameEventService)
 {
     _positiveGameEventService = positiveGameEventService;
     _negativeGameEventService = negativeGameEventService;
 }