Esempio n. 1
0
 public CouponController(ICouponService couponService, IUserService userService, ICouponOwnerService couponownerService, ICouponCategoryService couponCategoryService, IProductBrandService productBrandService)
 {
     _couponService         = couponService;
     _userService           = userService;
     _couponownerService    = couponownerService;
     _couponCategoryService = couponCategoryService;
     _productBrandService   = productBrandService;
 }
Esempio n. 2
0
 /// <summary>
 /// 构造函数(操作函数注入)
 /// </summary>
 public ProductController(
     IProductService productService,
     IProductBrandService productBrandService,
     IProductDetailService productDetailService,
     IProductParameterService productParameterService,
     IClassifyService classifyService, IWorkContext workContent)
 {
     _productService          = productService;
     _productBrandService     = productBrandService;
     _productDetailService    = productDetailService;
     _productParameterService = productParameterService;
     _classifyService         = classifyService;
     _workContent             = workContent;
 }
 public OtherCouponController(
     IOtherCouponCategoryService otherCouponCategoryService,
     IOtherCouponService otherCouponService,
     IProductBrandService productBrandService,
     IOtherCouponOwnerService otherCouponOwnerService,
     IWorkContext workContext
     )
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _otherCouponService         = otherCouponService;
     _productBrandService        = productBrandService;
     _otherCouponOwnerService    = otherCouponOwnerService;
     _workContext = workContext;
 }
Esempio n. 4
0
 /// <summary>
 /// 构造函数(操作函数注入)
 /// </summary>
 public ProductController(
     IProductService productService,
     IProductBrandService productBrandService,
     IProductDetailService productDetailService,
     IProductParameterService productParameterService,
     IClassifyService classifyService, IWorkContext workContent)
 {
     _productService = productService;
     _productBrandService = productBrandService;
     _productDetailService = productDetailService;
     _productParameterService = productParameterService;
     _classifyService = classifyService;
     _workContent = workContent;
 }
 public OtherCouponController(
     IOtherCouponCategoryService otherCouponCategoryService,
     IOtherCouponService otherCouponService, 
     IProductBrandService productBrandService, 
     IOtherCouponOwnerService otherCouponOwnerService, 
     IWorkContext workContext
     )
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _otherCouponService = otherCouponService;
     _productBrandService = productBrandService;
     _otherCouponOwnerService = otherCouponOwnerService;
     _workContext = workContext;
 }
Esempio n. 6
0
 public CouponsController(
     ICouponCategoryService couponCategoryService, 
     ICouponService couponService, 
     IProductBrandService productBrandService, 
     ICouponOwnerService couponOwnerService, 
     IWorkContext workContext,
     IBrokerService brokerService
     )
 {
     _couponCategoryService = couponCategoryService;
     _couponService = couponService;
     _productBrandService = productBrandService;
     _couponOwnerService = couponOwnerService;
     _workContext = workContext;
     _brokerService = brokerService;
 }
Esempio n. 7
0
 public OtherCouponsController(
     ICouponCategoryService couponCategoryService,
     ICouponService couponService,
     IProductBrandService productBrandService,
     ICouponOwnerService couponOwnerService,
     IWorkContext workContext,
     IBrokerService brokerService
     )
 {
     _couponCategoryService = couponCategoryService;
     _couponService         = couponService;
     _productBrandService   = productBrandService;
     _couponOwnerService    = couponOwnerService;
     _workContext           = workContext;
     _brokerService         = brokerService;
 }
Esempio n. 8
0
        /// <summary>
        /// 构造函数(操作函数注入)
        /// </summary>

        public BrandController(
            IProductService productService,
            IProductBrandService productBrandService,
            IProductDetailService productDetailService,
            IProductParameterService productParameterService,
            IClassifyService classifyService,
            IBrandParameterService brandParameterService,
            IWorkContext workContext)
        {
            _productService = productService;
            _productBrandService = productBrandService;
            _productDetailService = productDetailService;
            _productParameterService = productParameterService;
            _classifyService = classifyService;
            _brandParameterService = brandParameterService;
            _workContext = workContext;
        }
Esempio n. 9
0
        /// <summary>
        /// 构造函数(操作函数注入)
        /// </summary>

        public BrandController(
            IProductService productService,
            IProductBrandService productBrandService,
            IProductDetailService productDetailService,
            IProductParameterService productParameterService,
            IClassifyService classifyService,
            IBrandParameterService brandParameterService,
            IWorkContext workContext)
        {
            _productService          = productService;
            _productBrandService     = productBrandService;
            _productDetailService    = productDetailService;
            _productParameterService = productParameterService;
            _classifyService         = classifyService;
            _brandParameterService   = brandParameterService;
            _workContext             = workContext;
        }
Esempio n. 10
0
 /// <summary>
 /// 构造函数(操作函数注入)
 /// </summary>
 public ClassifyController(
     IProductService productService,
     IProductBrandService productBrandService,
     IProductDetailService productDetailService,
     IProductParameterService productParameterService,
     IClassifyService classifyService,
     IParameterValueService parameterValueService,
     IParameterService parameterService,
     IWorkContext workContext)
 {
     _productService = productService;
     _productBrandService = productBrandService;
     _productDetailService = productDetailService;
     _productParameterService = productParameterService;
     _classifyService = classifyService;
     _parameterService = parameterService;
     _parameterValueService = parameterValueService;
     _workContext = workContext;
 }
Esempio n. 11
0
 /// <summary>
 /// 构造函数(操作函数注入)
 /// </summary>
 public ClassifyController(
     IProductService productService,
     IProductBrandService productBrandService,
     IProductDetailService productDetailService,
     IProductParameterService productParameterService,
     IClassifyService classifyService,
     IParameterValueService parameterValueService,
     IParameterService parameterService,
     IWorkContext workContext)
 {
     _productService          = productService;
     _productBrandService     = productBrandService;
     _productDetailService    = productDetailService;
     _productParameterService = productParameterService;
     _classifyService         = classifyService;
     _parameterService        = parameterService;
     _parameterValueService   = parameterValueService;
     _workContext             = workContext;
 }
 public CouponCategoryController(ICouponCategoryService couponCategoryService,IProductBrandService productBrandService)
 {
     _couponCategoryService = couponCategoryService;
     _productBrandService = productBrandService;         
 }
 public ProductBrandFormController(ProductBrandForm instance)
 {
     this.frmProductBrand = instance;
     this.srvProductBrand = SamsaraAppContext.Resolve <IProductBrandService>();
     this.InitializeFormControls();
 }
Esempio n. 14
0
 public CouponCategoryController(ICouponCategoryService couponCategoryService, IProductBrandService productBrandService)
 {
     _couponCategoryService = couponCategoryService;
     _productBrandService   = productBrandService;
 }
Esempio n. 15
0
 public OtherCouponCategoryController(IOtherCouponCategoryService otherCouponCategoryService, IProductBrandService productBrandService)
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _productBrandService        = productBrandService;
 }
Esempio n. 16
0
 public ProductBrandForm()
 {
     InitializeComponent();
     this.ctrlProductBrandForm = new ProductBrandFormController(this);
     this.srvProductBrand      = SamsaraAppContext.Resolve <IProductBrandService>();
 }
 public OtherCouponCategoryController(IOtherCouponCategoryService otherCouponCategoryService, IProductBrandService productBrandService)
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _productBrandService = productBrandService;         
 }