Beispiel #1
0
 public ProductController(IProductManager productManager, 
     IClassesManager classesManager,
     IProductServiceFactory productServiceFactory)
 {
     _ProductManager = productManager;
     _ClassesManager = classesManager;
     _ProductServiceFactory= productServiceFactory;
 }
 public DelightService()
 {
     IoCBootstrapper.Boot();
     _accountManager = ObjectFactory.GetInstance<IAccountManager>();
     _categoryManager = ObjectFactory.GetInstance<ICategoryManager>();
     _productManager = ObjectFactory.GetInstance<IProductManager>();
     _userGroupManager = ObjectFactory.GetInstance<IUserGroupManager>();
     _voteManager = ObjectFactory.GetInstance<IVoteManager>();
     _userManager = ObjectFactory.GetInstance<IUserManager>();
     _sessionManager = ObjectFactory.GetInstance<ISessionManager>();
     _messageManager = ObjectFactory.GetInstance<IMessageManager>();
 }
		public SaveProductViewModel(IProductManager productManager, IProductCategoryManager categoryManager, IProductSubcategoryManager subcategoryManager,
			IAuthenticationService authService, IMvxMessenger messenger)
			: base(authService, messenger)
		{
			this.ShouldSubscribeToSessionChange = true;
			this._productManager = productManager;
			this._categoryManager = categoryManager;
			this._subcategoryManager = subcategoryManager;
			this.PropertyChanged += propertyChanged;
			this.MainImage = new ImageViewModel();
			validatePrice();
		}
 public OICatalogViewModel(
         IOrderItemManager orderItemManager,
         IOrderManager orderManager,
         IPackageManager packageManager,
         IProductManager productManager,
         IPriceManager priceManager,
         ICustomerManager customerManager
     )
 {
     _orderItemManager = orderItemManager;
     _orderManager = orderManager;
     _packageManager = packageManager;
     _productManager = productManager;
     _priceManager = priceManager;
     _customerManager = customerManager;
 }
 public CatalogViewModel(
         IPackageManager packageManager,
     IProductManager productManager,
     IProducerManager producerManager,
     ICategoryManager categoryManager,
     IMeasureManager measureManager,
     IPriceManager priceManager
     )
 {
     _packageManager = packageManager;
     _productManager = productManager;
     _producerManager = producerManager;
     _categoryManager = categoryManager;
     _measureManager = measureManager;
     _priceManager = priceManager;
 }
 public FilterProductsViewModel(IProductManager productManager,
                                IProductCategoryManager categoryManager,
                                IProductSubcategoryManager subcategoryManager,
                                ICountryManager countryManager,
                                ICityManager cityManager,
                                ITagManager tagManager)
     : base()
 {
     this._productManager = productManager;
     this._tagManager = tagManager;
     this._cityManager = cityManager;
     this._countryManager = countryManager;
     this._subcategoryManager = subcategoryManager;
     this._categoryManager = categoryManager;
     this.ProductFilter.PropertyChanged += ProductFilter_PropertyChanged;
     this.ProductFilter.Tags.CollectionChanged += tagsChanged;
 }
Beispiel #7
0
 public GetFeaturedProducts(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #8
0
 public ShoppingCartModel(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #9
0
 /// <summary>
 /// Constructor that brings in the interface
 /// </summary>
 /// <param name="product">product manager interface</param>
 public IndexModel(IProductManager product)
 {
     _product = product;
 }
 public CommonController(IBranchManager iBranchManager, IClientManager iClientManager, IOrderManager iOrderManager, IDepartmentManager iDepartmentManager, IInventoryManager iInventoryManager, ICommonManager iCommonManager, IDiscountManager iDiscountManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager, IInvoiceManager iInvoiceManager, IUpazillaGateway iUpazillaGateway, IDistrictManager iDistrictManager, IEmployeeManager iEmployeeManager, IDeliveryManager iDeliveryManager)
 {
     _iBranchManager     = iBranchManager;
     _iClientManager     = iClientManager;
     _iOrderManager      = iOrderManager;
     _idepartmentManager = iDepartmentManager;
     _iInventoryManager  = iInventoryManager;
     _iCommonManager     = iCommonManager;
     _iDiscountManager   = iDiscountManager;
     _iRegionManager     = iRegionManager;
     _iProductManager    = iProductManager;
     _iTerritoryManager  = iTerritoryManager;
     _iUpazillaGateway   = iUpazillaGateway;
     _iInvoiceManager    = iInvoiceManager;
     _iDistrictManager   = iDistrictManager;
     _iEmployeeManager   = iEmployeeManager;
     _iDeliveryManager   = iDeliveryManager;
 }
 public HomeController(ICommonManager iCommonManager, IProductManager iProductManager, IEmployeeManager iEmployeeManager)
 {
     _iCommonManager   = iCommonManager;
     _iProductManager  = iProductManager;
     _iEmployeeManager = iEmployeeManager;
 }
Beispiel #12
0
 public CategoryViewComponent(ICategoryManager iCategoryManager, IProductManager iProductManager)
 {
     _iCategoryManager = iCategoryManager;
     _iProductManager  = iProductManager;
 }
 public ProductController(IProductManager productManager, IMeasureManager measureManager)
 {
     ProductManager = productManager;
     MeasureManager = measureManager;
 }
Beispiel #14
0
 public HomeController(IVatManager iVatManager, IBranchManager iBranchManager, IClientManager iClientManager, IOrderManager iOrderManager, IReportManager iReportManager, IEmployeeManager iEmployeeManager, ICommonManager iCommonManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager, IAccountsManager iAccountsManager, IDivisionGateway iDivisionGateway, IDeliveryManager iDeliveryManager, IServiceManager iServiceManager, IDiscountManager iDiscountManager)
 {
     _iVatManager       = iVatManager;
     _iBranchManager    = iBranchManager;
     _iClientManager    = iClientManager;
     _iOrderManager     = iOrderManager;
     _iReportManager    = iReportManager;
     _iEmployeeManager  = iEmployeeManager;
     _iCommonManager    = iCommonManager;
     _iRegionManager    = iRegionManager;
     _iTerritoryManager = iTerritoryManager;
     _iProductManager   = iProductManager;
     _iAccountsManager  = iAccountsManager;
     _iDivisionGateway  = iDivisionGateway;
     _iDeliveryManager  = iDeliveryManager;
     _iServiceManager   = iServiceManager;
     _iDiscountManager  = iDiscountManager;
 }
Beispiel #15
0
 public ProductController(IProductManager store)
 {
     _store = store;
 }
Beispiel #16
0
 public ProductService()
 {
     _productMng = new ProductManager();
 }
Beispiel #17
0
 public UpdateProduct(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #18
0
 public HomeController(IBranchManager iBranchManager, IClientManager iClientManager, IDepartmentManager iDepartmentManager, IEmployeeManager iEmployeeManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager)
 {
     _iBranchManager     = iBranchManager;
     _iClientManager     = iClientManager;
     _iDepartmentManager = iDepartmentManager;
     _iEmployeeManager   = iEmployeeManager;
     _iRegionManager     = iRegionManager;
     _iTerritoryManager  = iTerritoryManager;
     _iProductManager    = iProductManager;
 }
Beispiel #19
0
 public AddForm(int option, IProductManager productManager)
 {
     _productManager = productManager;
     Option          = option;
     InitializeComponent();
 }
Beispiel #20
0
 public ProductController(IProductManager productManager, IClassesManager classesManager, IFileStore fileStore)
 {
     _ProductManager = productManager;
     _ClassesManager = classesManager;
     _FileStore = fileStore;
 }
 public MongoApiController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #22
0
 public ProductsController(IProductManager _productManager,
                           IMapper _mapper)
 {
     productManager = _productManager;
     mapper         = _mapper;
 }
Beispiel #23
0
 public ProductController(IProductManager productManager, ILogger <ProductController> logger)
 {
     _productManager = productManager;
     _logger         = logger;
 }
Beispiel #24
0
 public ProductController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #25
0
 public GetProductsByCatagory(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public GetProductsQueryHandler(IProductManager productManager, IMapper mapper)
 {
     _productManager = productManager;
     _mapper         = mapper;
 }
Beispiel #27
0
 public DapperController(IProductManager productManager)
 {
     this.productManager = productManager;
 }
Beispiel #28
0
 public CreateProduct(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public ProductController(IOrderManager iOrderManager, IReportManager iReportManager, IInventoryManager iInventoryManager, IProductManager iProductManager, IDeliveryManager iDeliveryManager, IProductReturnManager iProductReturnManager)
 {
     _iOrderManager         = iOrderManager;
     _iReportManager        = iReportManager;
     _iInventoryManager     = iInventoryManager;
     _iProductManager       = iProductManager;
     _iDeliveryManager      = iDeliveryManager;
     _iProductReturnManager = iProductReturnManager;
 }
 protected WorkerServiceBase(IDatabaseAdapter databaseAdapter, IProductManager productManager)
 {
     _databaseAdapter = databaseAdapter;
     _productManager  = productManager;
 }
 public ProductControllerHandler(IProductManager productManager, IVariantManager variantManager, IProductVariantManager productVariantManager)
 {
     _productManager        = productManager;
     _variantManager        = variantManager;
     _productVariantManager = productVariantManager;
 }
Beispiel #32
0
 public OrderService(IOrderRepository orderRepository, IProductRepository productRepository, IProductManager productManager)
 {
     _productRepository = productRepository;
     _orderRepository   = orderRepository;
     _productManager    = productManager;
 }
Beispiel #33
0
 public RealEstateController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #34
0
 public GetProducts(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public OrderController(IDeliveryManager iDeliveryManager, IInventoryManager iInventoryManager, IProductManager iProductManager, IClientManager iClientManager, IInvoiceManager iInvoiceManager, ICommonManager iCommonManager, IOrderManager iOrderManager, IBranchManager iBranchManager, IReportManager iReportManager)
 {
     _iDeliveryManager  = iDeliveryManager;
     _iInventoryManager = iInventoryManager;
     _iProductManager   = iProductManager;
     _iClientManager    = iClientManager;
     _iInvoiceManager   = iInvoiceManager;
     _iCommonManager    = iCommonManager;
     _iOrderManager     = iOrderManager;
     _iBranchManager    = iBranchManager;
     _iReportManager    = iReportManager;
 }
Beispiel #36
0
 public AdminController(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public VatsController(IVatManager iVatManager, IProductManager iProductManager)
 {
     _iVatManager     = iVatManager;
     _iProductManager = iProductManager;
 }
 public ProductService(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public ShowInfoController(IBranchManager iBranchManager, ICommonManager iCommonManager, IProductManager iProductManager, IClientManager iClientManager, IEmployeeManager iEmployeeManager, IReportManager iReportManager, IInventoryManager iInventoryManager)
 {
     _iBranchManager    = iBranchManager;
     _iCommonManager    = iCommonManager;
     _iProductManager   = iProductManager;
     _iClientManager    = iClientManager;
     _iEmployeeManager  = iEmployeeManager;
     _iReportManager    = iReportManager;
     _iInventoryManager = iInventoryManager;
 }
 public ProductController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Beispiel #41
0
 public void TestSetup()
 {
     _productAccessor     = new FakeProductAccessor();
     _fakeProductAccessor = new FakeProductAccessor();
     _productManager      = new ProductManager(_fakeProductAccessor);
 }
Beispiel #42
0
		public FavoritesViewModel(IStoreManager storeManager, IProductManager productManager)
			:base()
		{
			this._productManager = productManager;
			this._storeManager = storeManager;
		}
 public RecipeController(IRecipeManager recipeManager, IProductManager productManager)
 {
     RecipeManager = recipeManager;
     ProductManager = productManager;
 }