Пример #1
0
        public ProductStatusDetailController(

            IProductStatusService ProductStatusService
            )
        {
            this.ProductStatusService = ProductStatusService;
        }
Пример #2
0
        public ProductStatusMasterController(

            IProductStatusService ProductStatusService
            )
        {
            this.ProductStatusService = ProductStatusService;
        }
        public ProductMasterController(

            IBrandService BrandService,
            ICategoryService CategoryService,
            IMerchantService MerchantService,
            IProductStatusService ProductStatusService,
            IProductTypeService ProductTypeService,
            IProductService ProductService
            )
        {
            this.BrandService         = BrandService;
            this.CategoryService      = CategoryService;
            this.MerchantService      = MerchantService;
            this.ProductStatusService = ProductStatusService;
            this.ProductTypeService   = ProductTypeService;
            this.ProductService       = ProductService;
        }
Пример #4
0
 public ProductController(
     IProductTypeService productTypeService,
     IProductManufacturerService productManufacturerService,
     ITaxCategoryService taxCategoryService,
     IProductService productService,
     IUserService userService,
     IProductStatusService productStatusService,
     LogService logService)
 {
     _productTypeService         = productTypeService;
     _productManufacturerService = productManufacturerService;
     _taxCategoryService         = taxCategoryService;
     _productService             = productService;
     _userService          = userService;
     _logService           = logService;
     _productStatusService = productStatusService;
 }
 public ProductStatusController(IProductStatusService productStatus)
 {
     _productStatus = productStatus;
 }
Пример #6
0
 public ProductStatusController(IProductStatusService productStatusService,
                                IUserService userService) : base(userService)
 {
     _productStatusService = productStatusService;
 }
 // Controller's constructor with DI
 public ProductStatusController(IProductStatusService productStatusService)
 {
     _productStatusService = productStatusService;
 }
Пример #8
0
 public StatusController(IProductStatusService StatusService)
 {
     this.StatusService = StatusService;
 }