public CreditSaleDetailService(ICreditSaleDetailRepository creditSaleDetailRepository,
                                ICreditServiceRepository creditServiceRepository, ISaleRepository saleRepository,
                                IUnitOfWork uow, IEmployeeRepository employeeRepository)
     : this(creditSaleDetailRepository, uow)
 {
     this._creditServiceRepository = creditServiceRepository;
     this._saleRepository          = saleRepository;
     _employeeRepository           = employeeRepository;
 }
Beispiel #2
0
 public CourierService(ICustomerRepository customerRepository, ICourierEmployeeRepository courierEmployeeRepository,
                       ICourierRepository courierRepository, IEmployeeRepository employeeRepository, ISaleRepository saleRepository, IUnitOfWork uow,
                       IBonusComissionRepository bonusComissionRepository, IProductSaleDetailRepository productSaleDetailRepository, ICreditSaleDetailRepository creditSaleDetailRepository, IUncreditSaleDetailRepository uncreditSaleDetailRepository)
 {
     _customerRepository           = customerRepository;
     _courierEmployeeRepository    = courierEmployeeRepository;
     _courierRepository            = courierRepository;
     _employeeRepository           = employeeRepository;
     _saleRepository               = saleRepository;
     _bonusComissionRepository     = bonusComissionRepository;
     _productSaleDetailRepository  = productSaleDetailRepository;
     _creditSaleDetailRepository   = creditSaleDetailRepository;
     _uncreditSaleDetailRepository = uncreditSaleDetailRepository;
     _uow = uow;
 }
 public CreditSaleDetailService(ICreditSaleDetailRepository creditSaleDetailRepository, IUnitOfWork uow)
 {
     _creditSaleDetailRepository = creditSaleDetailRepository;
     _uow = uow;
 }