public ProductController(IProductInfoAppService appService, IHostingEnvironment hostingEnvironment, ISessionAppService sessionAppService, IIDentityCodeRepository identityCodeRepository, IRepository <ProductInfo> productRepository) { _appService = appService; _hostingEnvironment = hostingEnvironment; _sessionAppService = sessionAppService; _identityCodeRepository = identityCodeRepository; _productRepository = productRepository; }
public HomeController(IConfiguration configuration, IIDentityCodeRepository identityCodeRepository, IRepository <ProductInfo> productRepository, IRepository <Authorization.Users.User, long> userRepository, IHostingEnvironment hostingEnvironment, ISessionAppService sessionAppService) { _configuration = configuration; _defaultUrl = _configuration.GetSection("DefaultUrl").Value; _identityCodeRepository = identityCodeRepository; _productRepository = productRepository; _userRepository = userRepository; _hostingEnvironment = hostingEnvironment; _sessionAppService = sessionAppService; }
public GenerateTaskAppService(IRepository <GenerateTask, int> generateTaskRepository, IIDentityCodeRepository identityCodeRepository, IRepository <ProductInfo> productRepository, ISessionAppService sessionAppService, IHostingEnvironment hostingEnvironment, IConfiguration configuration, IRepository <User, long> userRepository) : base(generateTaskRepository) { _generateTaskRepository = generateTaskRepository; _identityCodeRepository = identityCodeRepository; _productRepository = productRepository; EventBus = NullEventBus.Instance; _sessionAppService = sessionAppService; _hostingEnvironment = hostingEnvironment; _configuration = configuration; _defaultUrl = _configuration.GetSection("DefaultUrl").Value; _userRepository = userRepository; }