public MainWindow(IGoodsAppService goodsAppService) { _goodsAppService = goodsAppService; _viewModel = new MainWindowViewModel(goodsAppService); this.DataContext = _viewModel; InitializeComponent(); }
public MainWindowViewModel(IGoodsAppService goodsAppService) { _goodsAppService = goodsAppService; AddCommand = new DelegateCommands <string>(Add); EditCommand = new DelegateCommands <DetailGoodsDto>(Edit); DeleteCommand = new DelegateCommands <DetailGoodsDto>(Delete); InitData(); }
public GoodsConsumeController(IGoodsCategoryAppService catAppService, IGoodsAppService AppService, ICommonAppService comService, IReceiveStatisticsAppService copAppService, ISpecObjectAppService specAppService, IMemberAppService memAppService, IParameterAppService parService) { _catAppService = catAppService; _AppService = AppService; _comService = comService; _specAppService = specAppService; _copAppService = copAppService; _memAppService = memAppService; _parService = parService; }
public GoodsController(IGoodsAppService AppService, ICommonAppService comService, IAbpSession abpSession, IGoodsCategoryAppService catAppService, IBrandAppService brandAppService, IImageAppService imgAppService, IChainStoreAppService storeAppService, ICommonAttributeAppService attrAppService, ICommonSpecAppService specAppService) { _AppService = AppService; _AbpSession = abpSession; _comService = comService; _catAppService = catAppService; _brandAppService = brandAppService; _storeAppService = storeAppService; _imgAppService = imgAppService; _attrAppService = attrAppService; _specAppService = specAppService; }
public GoodsService(IGoodsAppService goodsAppService) { _goodsAppService = goodsAppService; _applicationEnginee = new ApplicationEnginee(); }
public GoodsController(IGoodsAppService goodsAppService) { _goodsAppService = goodsAppService; }
public GoodsService(IGoodsAppService goodsAppService) { _goodsAppService = goodsAppService; }