Esempio n. 1
0
 public ShoppingCartController()
 {
     cartService     = Injector.Container.Resolve <IShoppingCartService>();
     productService  = Injector.Container.Resolve <IProductService>();
     catagoryService = Injector.Container.Resolve <ICatagoryService>();
     purchaseService = Injector.Container.Resolve <IBuyerPurchaseService>();
 }
Esempio n. 2
0
 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;
 }
Esempio n. 5
0
 public PopulateController(ICatagoryService catagoryService,
                           IMapper mapper)
 {
     _catagoryService = catagoryService;
     _mapper          = mapper;
 }
Esempio n. 6
0
 public CategoriesController(ICatagoryService categoryService)
 {
     _categoryService = categoryService;
 }
Esempio n. 7
0
 public ProductController()
 {
     catagoryService = Injector.Container.Resolve <ICatagoryService>();
     productService  = Injector.Container.Resolve <IProductService>();
 }