コード例 #1
0
 public StocksController(
     ICRUDServiceFactory <StockItemModel> _StockItemService,
     ICRUDServiceFactory <StockItemCategoryModel> _StockItemCategoryService)
 {
     this._StockItemService         = _StockItemService.GetService();
     this._StockItemCategoryService = _StockItemCategoryService.GetService();
 }
コード例 #2
0
 public TransactionController(
     ICRUDServiceFactory <TransactionModel> _TransactionCRUDService,
     ICRUDServiceFactory <TransactionDetailModel> _TransactionDetailCRUDService,
     ICRUDServiceFactory <TransactionTypeModel> _TransactionTypeCRUDService)
 {
     this._TransactionCRUDService       = _TransactionCRUDService.GetService();
     this._TransactionDetailCRUDService = _TransactionDetailCRUDService.GetService();
     this._TransactionTypeCRUDService   = _TransactionTypeCRUDService.GetService();
 }
コード例 #3
0
 public VendorController(ICRUDServiceFactory <VendorModel> _CRUDFactory)
 {
     this._CRUDService = _CRUDFactory.GetService();
 }
コード例 #4
0
 public CustomerController(ICRUDServiceFactory <CustomerModel> _CRUDFactory)
 {
     this._CRUDService = _CRUDFactory.GetService();
 }