Ejemplo 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;
 }
Ejemplo 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;
 }
Ejemplo n.º 3
0
 public OtherCouponController(
     IOtherCouponCategoryService otherCouponCategoryService,
     IOtherCouponService otherCouponService,
     IProductBrandService productBrandService,
     IOtherCouponOwnerService otherCouponOwnerService,
     IWorkContext workContext
     )
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _otherCouponService         = otherCouponService;
     _productBrandService        = productBrandService;
     _otherCouponOwnerService    = otherCouponOwnerService;
     _workContext = workContext;
 }
Ejemplo 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;
 }
Ejemplo n.º 5
0
 public OtherCouponController(
     IOtherCouponCategoryService otherCouponCategoryService,
     IOtherCouponService otherCouponService, 
     IProductBrandService productBrandService, 
     IOtherCouponOwnerService otherCouponOwnerService, 
     IWorkContext workContext
     )
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _otherCouponService = otherCouponService;
     _productBrandService = productBrandService;
     _otherCouponOwnerService = otherCouponOwnerService;
     _workContext = workContext;
 }
Ejemplo 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;
 }
Ejemplo 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;
 }
Ejemplo 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;
        }
Ejemplo 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;
        }
Ejemplo 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;
 }
Ejemplo 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();
 }
Ejemplo n.º 14
0
 public CouponCategoryController(ICouponCategoryService couponCategoryService, IProductBrandService productBrandService)
 {
     _couponCategoryService = couponCategoryService;
     _productBrandService   = productBrandService;
 }
Ejemplo n.º 15
0
 public OtherCouponCategoryController(IOtherCouponCategoryService otherCouponCategoryService, IProductBrandService productBrandService)
 {
     _otherCouponCategoryService = otherCouponCategoryService;
     _productBrandService        = productBrandService;
 }
Ejemplo 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;         
 }