Esempio n. 1
0
 public BlogController(IBaseService baseService, IBlogService blogService
                       , IOptions <InfoServerConfig> optionAccessor
                       , IProductService productService) : base(baseService)
 {
     _blogService      = blogService;
     _infoServerConfig = optionAccessor.Value;
     _productService   = productService;
 }
Esempio n. 2
0
 public ProductController(IBaseService baseService,
                          IProductService productService,
                          IOptions <InfoServerConfig> optionAccessor,
                          ICategoryService categoryService
                          ) : base(baseService)
 {
     _productService   = productService;
     _infoServerConfig = optionAccessor.Value;
     _categoryService  = categoryService;
 }
Esempio n. 3
0
 public ToolController(IBaseService baseService, IBlogService blogService
                       , IOptions <InfoServerConfig> optionAccessor
                       , IPostService postService
                       , IFeedbackService feedbackService
                       ) : base(baseService)
 {
     _infoServerConfig = optionAccessor.Value;
     _postService      = postService;
     _feedbackService  = feedbackService;
 }
Esempio n. 4
0
 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;
 }