Beispiel #1
0
 public ItemsController()
 {
     _itemConfig  = new Configuration.Configurations();
     _itemService = _itemConfig.GetItemService();
     _itemMapper  = new ItemMapper(_itemConfig);
     _cartMapper  = new CartMapper();
 }
Beispiel #2
0
 public AdminController()
 {
     _itemConfig     = new Configuration.Configurations();
     _itemService    = _itemConfig.GetItemService();
     _itemMapper     = new ItemMapper(_itemConfig);
     _storeService   = _itemConfig.GetStoreService();
     _storeMapper    = new StoreMapper(_itemConfig);
     _siService      = _itemConfig.GetStoreItemService();
     _asService      = _itemConfig.GetAvailableSizeService();
     _pictureService = _itemConfig.GetPictureService();
 }