Exemple #1
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;
 }
Exemple #2
0
 public CustomerController(IToastNotification toastNotification,
                           CustomerServiceInterface _customerService,
                           CustomerRepositoryInterface _customerRepo,
                           SaleServiceInterface _saleService)
 {
     _toastNotification    = toastNotification;
     this._customerService = _customerService;
     this._customerRepo    = _customerRepo;
 }
Exemple #3
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;
 }
Exemple #4
0
 public SalesReportController(SaleRepositoryInterface salesRepo, CustomerRepositoryInterface customerRepo)
 {
     _salesRepo    = salesRepo;
     _customerRepo = customerRepo;
 }
 public CustomerApiController(CustomerRepositoryInterface customerRepo, CustomerServiceInterface customerService, CustomerTansactionRepositoryInterface transactionRepo)
 {
     _customerRepo    = customerRepo;
     _customerService = customerService;
     _transactionRepo = transactionRepo;
 }
 public CustomerService(CustomerRepositoryInterface _customerRepo, Testdbcontext context)
 {
     this._customerRepo = _customerRepo;
     _context           = context;
 }
Exemple #7
0
 public CustomerTransactionService(CustomerRepositoryInterface customerRepo, CustomerTansactionRepositoryInterface transactionRepo)
 {
     _customerRepo    = customerRepo;
     _transactionRepo = transactionRepo;
 }
 public CustomerStatementController(CustomerTansactionRepositoryInterface transactionRepo, CustomerRepositoryInterface customerRepo)
 {
     _transactionRepo = transactionRepo;
     _customerRepo    = customerRepo;
 }