public BlogController(IBaseService baseService, IBlogService blogService , IOptions <InfoServerConfig> optionAccessor , IProductService productService) : base(baseService) { _blogService = blogService; _infoServerConfig = optionAccessor.Value; _productService = productService; }
public ProductController(IBaseService baseService, IProductService productService, IOptions <InfoServerConfig> optionAccessor, ICategoryService categoryService ) : base(baseService) { _productService = productService; _infoServerConfig = optionAccessor.Value; _categoryService = categoryService; }
public ToolController(IBaseService baseService, IBlogService blogService , IOptions <InfoServerConfig> optionAccessor , IPostService postService , IFeedbackService feedbackService ) : base(baseService) { _infoServerConfig = optionAccessor.Value; _postService = postService; _feedbackService = feedbackService; }
public HomeController(IBaseService baseService, ILogger <HomeController> logger, IProductService productService, ICategoryService categoryService, IOptions <InfoServerConfig> optionAccessor, IHomeService homeService, IBlogService blogService) : base(baseService) { _logger = logger; _productService = productService; _categoryService = categoryService; _infoServerConfig = optionAccessor.Value; _homeService = homeService; _blogService = blogService; }