Пример #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;
 }
Пример #2
0
 public SalesTranService(
     IProductRepository productRepository,
     ITempTransRepository tempTransRepository,
     ISalesRepository salesRepository,
     IPaymentRepository paymentRepository,
     ICustomerRepository customerRepository,
     IUnitOfWork unitOfWork)
 {
     this._productRepository   = productRepository;
     this._tempTransRepository = tempTransRepository;
     this._salesRepository     = salesRepository;
     this._paymentRepository   = paymentRepository;
     this._customerRepository  = customerRepository;
     this._unitOfWork          = unitOfWork;
 }
Пример #3
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;
 }