Esempio n. 1
0
 public SalesTransactionCreditController(
     ICustomerRepository customerRepository,
     IProductRepository productRepository,
     ITempTransRepository tempTransRepository,
     ISalesTranService salesTranService,
     IMapper mapper)
 {
     this._customerRepository  = customerRepository;
     this._productRepository   = productRepository;
     this._tempTransRepository = tempTransRepository;
     this._salesTranService    = salesTranService;
     this._mapper = mapper;
 }
Esempio n. 2
0
 public SalesTransactionController(
     ICustomerRepository customerRepository,
     IProductRepository productRepository,
     ISalesTranService salesTranService,
     ITempTransRepository tempTransRepository,
     IPaymentRepository paymentRepository,
     ISalesRepository salesRepository,
     IBranchRepository branchRepository,
     UserManager <ApplicationUser> userManager,
     IMapper mapper)
 {
     this._customerRepository  = customerRepository;
     this._productRepository   = productRepository;
     this._salesTranService    = salesTranService;
     this._tempTransRepository = tempTransRepository;
     this._salesRepository     = salesRepository;
     this._paymentRepository   = paymentRepository;
     this._branchRepository    = branchRepository;
     this._userManager         = userManager;
     this._mapper = mapper;
 }