Esempio n. 1
0
 public MenusController(IMenuGroupService menuGroupService, IMenuService menuService, IProductGroupService productGroupService, INewsGroupService newsGroupService)
 {
     _menuGroupService    = menuGroupService;
     _menuService         = menuService;
     _productGroupService = productGroupService;
     _newsGroupService    = newsGroupService;
 }
Esempio n. 2
0
 public ProductGroupController()
 {
     _spService           = StructureMap.ObjectFactory.GetInstance <ISpService>();
     _companyService      = StructureMap.ObjectFactory.GetInstance <ICompanyService>();
     _productGroupService = StructureMap.ObjectFactory.GetInstance <IProductGroupService>();
     _productMapService   = StructureMap.ObjectFactory.GetInstance <IProductMapService>();
 }
Esempio n. 3
0
 public CrmController(ICrmService crmService,
                      ICrmTypeService crmTypeService,
                      ICrmStatusService crmStatusService,
                      ICrmPriorityService crmPriorityService,
                      ICustomerSourceService customerSourceService,
                      IProductGroupService productGroupService,
                      ICustomerGroupService customerGroupService,
                      ICustomerVipService customerVipService,
                      IProvinceService provinceService,
                      IUserService userService,
                      IMapper mapper,
                      ILogger <CrmController> logger) : base(logger)
 {
     _crmService            = crmService;
     _crmTypeService        = crmTypeService;
     _crmStatusService      = crmStatusService;
     _crmPriorityService    = crmPriorityService;
     _customerSourceService = customerSourceService;
     _productGroupService   = productGroupService;
     _customerGroupService  = customerGroupService;
     _customerVipService    = customerVipService;
     _provinceService       = provinceService;
     _userService           = userService;
     _mapper = mapper;
 }
Esempio n. 4
0
 public ProductController(IProductService service, ICountryService countryService,
                          IProductGroupService productGroupService, IMapper mapper)
 {
     _productService      = service;
     _countryService      = countryService;
     _productGroupService = productGroupService;
     _mapper = mapper;
 }
Esempio n. 5
0
 public HomeController(IMenuService menuService, IUserService userService, IMessageService messageService, IProductGroupService productGroupService, IProductService productService)
 {
     _menuService         = menuService;
     _userService         = userService;
     _messageService      = messageService;
     _productGroupService = productGroupService;
     _productService      = productService;
 }
Esempio n. 6
0
 public ProductController(IProductGroupService iProductGroupService, IProductService iProductService, ICategoryService iCategoryService, IProductAttributeService iProductAttributeService, IProductAttributeValueService iProductAttributeValueService, IOrderDetailService iOderDetailService)
 {
     _iProductGroupService          = iProductGroupService;
     _iProductAttributeService      = iProductAttributeService;
     _iProductAttributeValueService = iProductAttributeValueService;
     _iCategoryService   = iCategoryService;
     _iProductService    = iProductService;
     _iOderDetailService = iOderDetailService;
 }
Esempio n. 7
0
 public ProductGroupController
 (
     ILoginService loginService,
     IProductGroupService productGroupService
 )
 {
     _loginService        = loginService;
     _productGroupService = productGroupService;
 }
Esempio n. 8
0
 public ProductController(IProductService productService, IProductGroupService productGroupService,
                          IAttributeGrpService attributeGrpService, IDetailItemService detailItemService, IProductAttributeService productAttributeService
                          , IProductDetailService productDetailService, IDetailGroupService detailGroupService)
 {
     _productService          = productService;
     _productGroupService     = productGroupService;
     _attributeGrpService     = attributeGrpService;
     _detailItemService       = detailItemService;
     _productAttributeService = productAttributeService;
     _productDetailService    = productDetailService;
     _detailGroupService      = detailGroupService;
 }
Esempio n. 9
0
        public ProductGroupController(IProductGroupService ProductGroupService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _ProductGroupService = ProductGroupService;
            _unitOfWork          = unitOfWork;
            _exception           = exec;

            UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"];

            //Log Initialization
            LogVm.SessionId      = 0;
            LogVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller");
            LogVm.ActionName     = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action");
            LogVm.User           = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name;
        }
 public ProductGroupController(IProductGroupService service)
 {
     _service = service;
 }
Esempio n. 11
0
 public AttributGrpsController(IAttributeGrpService attributeGrpService, IProductGroupService productGroupService)
 {
     _attributeGrpService = attributeGrpService;
     _productGroupService = productGroupService;
 }
Esempio n. 12
0
 public ProductGroupController(IProductGroupService productGroupService, ILogger <ProductGroupController> logger)
 {
     _logger = logger;
     _productGroupService = productGroupService;
 }
 public ProductGroupController(/*ProductContext context*/ IProductGroupService service)
 {
     // _context=context;
     _service = service;
 }
Esempio n. 14
0
 public ProductGroupCommandHandler(IProductGroupService service, IProductGroupRepository repository)
 {
     _service    = service;
     _repository = repository;
 }
Esempio n. 15
0
 public ProductGroupModelFactory(IProductGroupService productGroupService,
                                 IMapper mapper)
 {
     _productGroupService = productGroupService;
     _mapper = mapper;
 }
 public ProductImageController(IUnitOfWork unitOfWork, IProductGroupService group)
 {
     _ProductGroupService = group;
     _unitOfWork          = unitOfWork;
 }
 public ProductGroupGroupController(IProductGroupService productGroupService, IMapper mapper)
 {
     _productGroupService = productGroupService;
     _mapper = mapper;
 }
Esempio n. 18
0
 public ProductGroupList(IProductGroupService productGroupService)
 {
     _productGroupService = productGroupService;
 }
Esempio n. 19
0
 public ProductGroupController(IProductGroupService mainProductGroupService)
 {
     _mainProductGroupService = mainProductGroupService ?? throw new ArgumentNullException(nameof(mainProductGroupService));
 }
Esempio n. 20
0
 public DetailGroupsController(IProductGroupService productGroupService, IDetailGroupService detailGroupService)
 {
     _detailGroupService  = detailGroupService;
     _productGroupService = productGroupService;
 }
Esempio n. 21
0
 public ProductGroupController(IProductGroupService productGroupService)
 {
     _productGroupService = productGroupService ?? throw new ArgumentNullException(nameof(productGroupService));
     _logger = LoggerFactory.CreateLogger();
 }
Esempio n. 22
0
 public ProductGroupController(IProductGroupService prodGroupService)
 {
     _prodGroupManager = new ProductGroupManager(prodGroupService);
 }
Esempio n. 23
0
 public ProductGroupsController(IProductGroupService service)
 {
     this.service = service;
 }
 public ProductGroupController(ProductContext context, IProductGroupService service)
 {
     _context = context;
     _service = service;
 }
Esempio n. 25
0
 public ProductGroupBusiness(IProductGroupService _svcProductGroup, IMapper _iMapper)
 {
     svcProductGroup = _svcProductGroup;
     iMapper         = _iMapper;
 }
 public ProductGroupCommandHandler(IProductGroupService productGroupService)
 {
     _productGroupService = productGroupService;
 }
 public ProductGroupController(IProductGroupService productGroupService,
                               IUserService userService) : base(userService)
 {
     _productGroupService = productGroupService;
 }
Esempio n. 28
0
 public ProductGroupController(IProductGroupService iProductGroupService)
 {
     _iProductGroupService = iProductGroupService;
 }
 public ProductGroupController(IProductGroupService productGroupService)
 {
     _productGroupService = productGroupService;
 }
Esempio n. 30
0
 public ProductGroupsController(IProductGroupService productGroup)
 {
     this._productGroup = productGroup;
 }