public GameController(IGameService gameService, IGenreService genreService, IPlatformTypeService platformTypeService, IPublisherService publisherService, IMapper mapper, IAuthentication authentication) : base(authentication) { _gameService = gameService; _genreService = genreService; _platformTypeService = platformTypeService; _publisherService = publisherService; _mapper = mapper; }
public PlatformTypeController( IPlatformTypeService platformTypeService, IMapper mapper, IAuthentication authentication) : base(authentication) { _mapper = mapper; _platformTypeService = platformTypeService; }
public GameController( IGameService gameAppService, IPublisherService publisherAppService, IGenreService genreService, IPlatformTypeService platformTypeService) { _gameService = gameAppService; _publisherService = publisherAppService; _genreService = genreService; _platformTypeService = platformTypeService; }
public FilterViewModelBuilder( IGenreService genreService, IPlatformTypeService platformTypeService, IMapper mapper, IPublisherService publisherService) { _mapper = mapper; _publisherService = publisherService; _genreService = genreService; _platformTypeService = platformTypeService; }
/// <summary> /// Initializes a new instance of the <see cref="GameController" /> class. /// </summary> /// <param name="gameService">The game service.</param> /// <param name="genreService">The genre service.</param> /// <param name="platformTypeService">The platform type service.</param> /// <param name="publisherService">The publisher service.</param> /// <param name="languageService">The language service.</param> public GameController( IGameService gameService, IGenreService genreService, IPlatformTypeService platformTypeService, IPublisherService publisherService, ILanguageService languageService) { _gameService = gameService; _genreService = genreService; _platformTypeService = platformTypeService; _publisherService = publisherService; _languageService = languageService; }
/// <summary> /// Initializes a new instance of the <see cref="GameJsonController"/> class. /// </summary> /// <param name="gameService">The game service.</param> /// <param name="commentService">The comment service.</param> /// <param name="genreService">The genre service.</param> /// <param name="platformTypeService">The platform type service.</param> /// <param name="logger">The logger.</param> public GameJsonController( IGameService gameService, ICommentService commentService, IGenreService genreService, IPlatformTypeService platformTypeService, ILogger logger) { _gameService = gameService; _commentService = commentService; _genreService = genreService; _platformTypeService = platformTypeService; _logger = logger; }
//private readonly ILoggerManager _logger; public GamesController( IGameService gameService, IGenreService genreService, IPlatformTypeService platformService, ICommentService commentService, ILoggerManager logger) : base(logger) { _gameService = gameService; _genreService = genreService; _platformService = platformService; _commentService = commentService; // _logger = logger; }
public GamesApiController( IGameService gameService, ICommentService commentService, IGenreService genreService, IPlatformTypeService platformTypeService, IBasketService basketService, IPublisherService publisherService, ILanguageService languageService, ILogger logger) { _gameService = gameService; _commentService = commentService; _genreService = genreService; _platformTypeService = platformTypeService; _basketService = basketService; _publisherService = publisherService; _languageService = languageService; _logger = logger; }
public PlatformTypeController(IPlatformTypeService platformTypeRepository) { _platformTypeRepository = platformTypeRepository ?? throw new ArgumentNullException(nameof(platformTypeRepository)); }
public PlatformTypeController(IPlatformTypeService platformTypeService) { this.platformTypeService = platformTypeService; }
public void SetUp() { _mock = new Mock <IUnitOfWork>(); _service = new PlatformTypeService(_mock.Object); }