コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HomeController" /> class.
 /// </summary>
 /// <param name="tableCacheHandler">to store result in blob cache</param>
 /// <param name="homePageBusiness">Cache Data from storage</param>
 /// <param name="stateService">State Service</param>
 /// <param name="configuration">Web Config</param>
 /// <param name="homePageService">Home Page Service</param>
 /// <param name="countryService">The Country Service.</param>
 /// <param name="cityService">The City Service.</param>
 /// <param name="listingService">Listing Service</param>
 /// <param name="blogService">Blog Service</param>
 /// <param name="curationService">Curation Service</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="masterService">The master service.</param>
 /// <param name="domainSetting">The domain setting.</param>
 /// <param name="hostingEnvironment">The hosting environment.</param>
 /// <param name="viewRenderService">The view render service.</param>
 /// <param name="userDetailService">The user detail service.</param>
 /// <param name="package">The package.</param>
 /// <param name="hotelBookingService">The hotel booking service.</param>
 /// <param name="homeBanner">The home banner.</param>
 /// <param name="dealService">Deal Service</param>
 public HomeController(ITableCacheHandler tableCacheHandler, IHomePageBusiness homePageBusiness, IStateService stateService, IConfiguration configuration, IHomePageService homePageService, ICountryService countryService, ICityService cityService, IListingService listingService, IBlogService blogService, ICurationsService curationService, IMapper mapper, IMasterService masterService, IOptions <DomainSetting> domainSetting, IHostingEnvironment hostingEnvironment, IViewRenderService viewRenderService, IUserDetailService userDetailService, IPackageService package, IHotelBookingService hotelBookingService, IHomeBannerService homeBanner, IDealService dealService)
     : base(mapper, homePageService, cityService, countryService, configuration, stateService)
 {
     this.tableCacheHandler  = tableCacheHandler;
     this.homePageBusiness   = homePageBusiness;
     this.homePageService    = homePageService;
     this.listingService     = listingService;
     this.package            = package;
     this.hostingEnvironment = hostingEnvironment;
     this.viewRenderService  = viewRenderService;
     this.domainSetting      = domainSetting.Value;
     this.masterService      = masterService;
     this.dealService        = dealService;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchController" /> class.
 /// </summary>
 /// <param name="homePageBusiness">Home Page Business</param>
 /// <param name="tableCacheHandler">Table Cache Handler</param>
 /// <param name="stateService">State Service</param>
 /// <param name="configuration">Web Config</param>
 /// <param name="homePageService">Home Page Service</param>
 /// <param name="countryService">The Country Service.</param>
 /// <param name="cityService">The City Service.</param>
 /// <param name="listingService">Listing Service</param>
 /// <param name="mapper">The mapper.</param>
 public SearchController(
     IHomePageBusiness homePageBusiness,
     ITableCacheHandler tableCacheHandler,
     IStateService stateService,
     IConfiguration configuration,
     IHomePageService homePageService,
     ICountryService countryService,
     ICityService cityService,
     IListingService listingService,
     IMapper mapper)
     : base(mapper, homePageService, cityService, countryService, configuration, stateService)
 {
     this.homePageBusiness  = homePageBusiness;
     this.homePageService   = homePageService;
     this.tableCacheHandler = tableCacheHandler;
     this.listingService    = listingService;
 }