示例#1
0
 public AdminController(ProductCharacteristicService productCharacteristicService, ImageFileService fileService,
                        BrandService brandService, CategoryService categoryService, ProductService productService, ImportExportService importExportService)
 {
     _fileService     = fileService;
     _brandService    = brandService;
     _categoryService = categoryService;
     _productService  = productService;
     _productCharacteristicService = productCharacteristicService;
     _importExportService          = importExportService;
 }
示例#2
0
 public ProductController(ILogger <ProductController> logger, ProductService productservice, ProductCharacteristicService productCharacteristicService, CommentService commentService, LikeService likeService, UserManager <User> userManager, IMapper mapper)
 {
     _logger          = logger;
     _productservice  = productservice;
     _commentService  = commentService;
     _categoryService = categoryService;
     this._productCharacteristicService = productCharacteristicService;
     _likeService = likeService;
     _userManager = userManager;
     _mapper      = mapper;
 }