public CategoriesController(ICategoryService categoryService, ICategoryAccountant categoryAccountant, IModelMapper modelMapper, IDataSerializer dataSerializer)
 {
     _categoryService    = categoryService;
     _categoryAccountant = categoryAccountant;
     _modelMapper        = modelMapper;
     _dataSerializer     = dataSerializer;
 }
示例#2
0
 public NavigationController(IMenuService menuService, IMenuItemService menuItemService, IModelMapper modelMapper, IContentPageService contentPageService, IProductService productService, ICategoryService categoryService, ICategoryAccountant categoryAccountant, IDataSerializer dataSerializer)
 {
     _menuService        = menuService;
     _menuItemService    = menuItemService;
     _modelMapper        = modelMapper;
     _contentPageService = contentPageService;
     _productService     = productService;
     _categoryService    = categoryService;
     _categoryAccountant = categoryAccountant;
     _dataSerializer     = dataSerializer;
 }
 public DiscountsController(IDiscountCouponService discountCouponService, IModelMapper modelMapper, IDataSerializer dataSerializer, IProductService productService, IUserService userService, IRoleService roleService, ICategoryService categoryService, IVendorService vendorService, IManufacturerService manufacturerService, ICategoryAccountant categoryAccountant, IRestrictionValueService restrictionValueService)
 {
     _discountCouponService   = discountCouponService;
     _modelMapper             = modelMapper;
     _dataSerializer          = dataSerializer;
     _productService          = productService;
     _userService             = userService;
     _roleService             = roleService;
     _categoryService         = categoryService;
     _vendorService           = vendorService;
     _manufacturerService     = manufacturerService;
     _categoryAccountant      = categoryAccountant;
     _restrictionValueService = restrictionValueService;
 }
示例#4
0
 public void SetUp()
 {
     _categoryService    = Resolve <ICategoryService>();
     _categoryAccountant = Resolve <ICategoryAccountant>();
 }