Пример #1
0
 public GameController(AuthenticationService authenticationService,
                       GameService gameService, CategoryDatabaseService categoryDatabaseService)
 {
     _authenticationService   = authenticationService;
     _gameService             = gameService;
     _categoryDatabaseService = categoryDatabaseService;
 }
Пример #2
0
 public LeaderboardController(AuthenticationService authenticationService,
                              CategoryDatabaseService categoryDatabaseService, GameService gameService,
                              LeaderboardDatabaseService leaderboardDatabaseService)
 {
     _authenticationService      = authenticationService;
     _categoryDatabaseService    = categoryDatabaseService;
     _gameService                = gameService;
     _leaderboardDatabaseService = leaderboardDatabaseService;
 }
 public DatabaseFacade()
 {
     Customers  = new CustomerDatabaseService();
     Products   = new ProductDatabaseService();
     Cart       = new CartDatabaseService();
     Categories = new CategoryDatabaseService();
     Storages   = new StorageDatabaseService();
     Statuses   = new StatusDatabaseService();
 }
Пример #4
0
 public CategoryController(AuthenticationService authenticationService,
                           CategoryDatabaseService categoryDatabaseService)
 {
     _authenticationService   = authenticationService;
     _categoryDatabaseService = categoryDatabaseService;
 }