예제 #1
0
 public ImportJsonCommand(IUserService userService, IProductService productService, ICategoryService categoryService, ICategoryProductService categoryProductService)
 {
     this.userService            = userService;
     this.productService         = productService;
     this.categoryService        = categoryService;
     this.categoryProductService = categoryProductService;
     this.importer = new JsonImporter();
 }
예제 #2
0
 public CategoryProductController(
     ICategoryProductService categoryProductService,
     IMapper mapper,
     INotifier notifier,
     IUser appUser) : base(notifier, appUser)
 {
     _categoryProductService = categoryProductService;
     _mapper = mapper;
 }