コード例 #1
0
 public AdminController(IPicturesRepository picturesRepository,
     IPaintersRepository paintersRepository,
     IStylesRepository stylesRepository,
     ILogger logger, 
     CampaignsRepository campaignsRepository,
     PictureLogic pictureLogic)
 {
     _picturesRepository = picturesRepository;
     _paintersRepository = paintersRepository;
     _stylesRepository = stylesRepository;
     _logger = logger;
     _campaignsRepository = campaignsRepository;
     this.pictureLogic = pictureLogic;
 }
コード例 #2
0
 public GameController(IGameRepository gameRepository, IUserDataAccess userDataAccess, CampaignsRepository campaignsRepository)
 {
     _gameRepository = gameRepository;
     _userDataAccess = userDataAccess;
     this.campaignsRepository = campaignsRepository;
 }
コード例 #3
0
 public PictureRepository(IPictureDataAccess pictureDataAccess, PicturesRepository pictureRepository, CampaignsRepository campaignsRepository)
 {
     _pictureDataAccess = pictureDataAccess;
     _pictureRepository = pictureRepository;
     _campaignsRepository = campaignsRepository;
 }