コード例 #1
0
 public HomeController(
     ILogger <HomeController> logger,
     IMapper mapper,
     ISearchApiClient searchApiClient,
     IAdApiClient adApiClient)
 {
     _logger          = logger;
     _mapper          = mapper;
     _searchApiClient = searchApiClient;
     _adApiClient     = adApiClient;
 }
コード例 #2
0
 public AdManagementController(IFileUploader fileUploader,
                               IAdApiClient client,
                               IMapper mapper,
                               ILogger <AdManagementController> logger,
                               IConfiguration configuration,
                               IHttpContextAccessor contextAccessor)
 {
     _fileUploader    = fileUploader;
     _client          = client;
     _mapper          = mapper;
     _logger          = logger;
     _configuration   = configuration;
     _contextAccessor = contextAccessor;
 }
コード例 #3
0
 public PublishAdSaga(IAdApiClient adApiClient, IMessageBroker messageBroker)
 {
     _adApiClient   = adApiClient;
     _messageBroker = messageBroker;
 }