public ShoppingCartController() { cartService = Injector.Container.Resolve <IShoppingCartService>(); productService = Injector.Container.Resolve <IProductService>(); catagoryService = Injector.Container.Resolve <ICatagoryService>(); purchaseService = Injector.Container.Resolve <IBuyerPurchaseService>(); }
public BuyerController() { buyerService = Injector.Container.Resolve <IBuyerService>(); areaService = Injector.Container.Resolve <IAreaService>(); purchaseService = Injector.Container.Resolve <IBuyerPurchaseService>(); productService = Injector.Container.Resolve <IProductService>(); catagoryService = Injector.Container.Resolve <ICatagoryService>(); }
public PopulateController( ICatagoryService catagoryService, IProductService productService, IAccountService accountService, IMapper mapper) { _catagoryService = catagoryService; _productService = productService; _mapper = mapper; _accountService = accountService; }
public ProductManager(IProductDal productDal, ICatagoryService categoryService) { _productDal = productDal; _catagoryService = categoryService; }
public PopulateController(ICatagoryService catagoryService, IMapper mapper) { _catagoryService = catagoryService; _mapper = mapper; }
public CategoriesController(ICatagoryService categoryService) { _categoryService = categoryService; }
public ProductController() { catagoryService = Injector.Container.Resolve <ICatagoryService>(); productService = Injector.Container.Resolve <IProductService>(); }