Ejemplo n.º 1
0
 public ItemApiController(ItemServiceInterface _itemService,
                          ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo)
 {
     this._itemService = _itemService;
     _itemRepo         = itemRepo;
     _unitRepo         = unitRepo;
 }
Ejemplo n.º 2
0
 public SaleService(SaleRepositoryInterface _saleRepo, SaleDetailRepositoryInterface _saleDetailRepo, ItemRepositoryInterface itemRepo, CustomerTransactionServiceInterface transactionService, CustomerRepositoryInterface customerRepo)
 {
     this._saleRepo       = _saleRepo;
     this._saleDetailRepo = _saleDetailRepo;
     _itemRepo            = itemRepo;
     _transactionService  = transactionService;
     _customerRepo        = customerRepo;
 }
 public ItemController(IToastNotification toastNotification, ItemServiceInterface _itemService,
                       ItemRepositoryInterface itemRepo, UnitRepositoryInterface unitRepo)
 {
     _toastNotification = toastNotification;
     this._itemService  = _itemService;
     _itemRepo          = itemRepo;
     _unitRepo          = unitRepo;
 }
Ejemplo n.º 4
0
 public PurchaseService(
     PurchaseRepositoryInterface _purchaseRepo,
     SupplierRepositoryInterface _supplierRepo,
     ItemRepositoryInterface _itemRepo
     )
 {
     this._purchaseRepo = _purchaseRepo;
     this._supplierRepo = _supplierRepo;
     this._itemRepo     = _itemRepo;
 }
Ejemplo n.º 5
0
 public SaleController(SaleRepositoryInterface _saleRepo,
                       IToastNotification _toastNotification,
                       CustomerRepositoryInterface customerRepo,
                       ItemRepositoryInterface _itemRepo,
                       SaleServiceInterface _saleService,
                       SaleDetailRepositoryInterface _saleDetailRepo)
 {
     this._saleRepo          = _saleRepo;
     _customerRepo           = customerRepo;
     this._itemRepo          = _itemRepo;
     this._toastNotification = _toastNotification;
     this._saleService       = _saleService;
     this._saleDetailRepo    = _saleDetailRepo;
 }
Ejemplo n.º 6
0
 public PurchaseController(SupplierRepositoryInterface _supplierInterface,
                           ItemRepositoryInterface _itemRepo,
                           IToastNotification _toastNotification,
                           PurchaseServiceInterface _purchaseService,
                           PurchaseRepositoryInterface _purchaseRepo,
                           PurchaseDetailRepositoryInterface _purchaseDetailRepo)
 {
     this._supplierInterface  = _supplierInterface;
     this._itemRepo           = _itemRepo;
     this._toastNotification  = _toastNotification;
     this._purchaseService    = _purchaseService;
     this._purchaseRepo       = _purchaseRepo;
     this._purchaseDetailRepo = _purchaseDetailRepo;
 }
 public ItemService(ItemRepositoryInterface _itemRepo)
 {
     this._itemRepo = _itemRepo;
 }