Esempio n. 1
0
 public GameCreateModel(
     IGameServices gameService,
     IStorageService storageService,
     ICategoryServices categoryService,
     IGenreServices genreService,
     IModeServices modeService,
     IPlatformServices platformService)
 {
     _gameService     = gameService;
     _storageService  = storageService;
     _categoryService = categoryService;
     _genreService    = genreService;
     _modeService     = modeService;
     _platformService = platformService;
 }
Esempio n. 2
0
        public GameServices(
            IHttpClientFactory httpClientFactory,
            IConfiguration configuration,
            IGenreServices genreService,
            IModeServices modeService,
            IPlatformServices platformService,
            ICategoryServices categoryService)
        {
            _genreService    = genreService;
            _modeService     = modeService;
            _platformService = platformService;
            _categoryService = categoryService;

            _httpClient = httpClientFactory.CreateClient();

            _baseAdress = configuration.GetConnectionString("GameLibServerUri");
        }
Esempio n. 3
0
 public ModeCreateModel(IModeServices modeService)
 {
     _modeService = modeService;
 }
Esempio n. 4
0
 public ModeEditModel(IModeServices modeService)
 {
     _modeService = modeService;
 }
Esempio n. 5
0
 public ModesController(IModeServices modeService)
 {
     _modeService = modeService;
 }
Esempio n. 6
0
 public ModeDeleteModel(IModeServices modeService)
 {
     _modeService = modeService;
 }
Esempio n. 7
0
 public ModesModel(IModeServices modeService)
 {
     _modeService = modeService;
 }