public StatisticSearchController(ILogger <StatisticSearchController> logger,
                                  IMemoryCache memoryCache,
                                  IGoogleSearchService googleSearchService,
                                  IBingSearchService bingSearchService)
 {
     _logger              = logger;
     _memoryCache         = memoryCache;
     _googleSearchService = googleSearchService;
     _bingSearchService   = bingSearchService;
 }
 public InventoryController(IInventoryService service, IWebHostEnvironment hostingService, ICategoryService categoryService, UserManager <ApplicationUser> userManager, ApplicationDbContext context, IHubContext <AuctionHub> auctionHub, ILogger <InventoryController> logger, IGoogleSearchService googleSearchService, IBingSearchService bingSearchService, IMemoryCache memoryCache)
 {
     _inventoryService           = service;
     _hostingEnvironmentServices = hostingService;
     _categoryService            = categoryService;
     _userManager         = userManager;
     _context             = context;
     _auctionHub          = auctionHub;
     _logger              = logger;
     _googleSearchService = googleSearchService;
     _bingSearchService   = bingSearchService;
     _memoryCache         = memoryCache;
 }
Esempio n. 3
0
 public AnalyticsController(ILogger <AnalyticsController> logger, IGoogleSearchService googleSearchService, IBingSearchService bingSearchService)
 {
     _logger = logger;
     _googleSearchService = googleSearchService;
     _bingSearchService   = bingSearchService;
 }