public CompanyExpenseService(
     IExpenseRepository expenseRepository,
     ISupplierRepository supplierRepository,
     IEmployeeRepository employeeRepository,
     ICompanyExpenseRepository companyExpenseRepository,
     IUnitOfWork unitOfWork)
 {
     this._supplierRepository       = supplierRepository;
     this._expenseRepository        = expenseRepository;
     this._employeeRepository       = employeeRepository;
     this._companyExpenseRepository = companyExpenseRepository;
     this._unitOfWork = unitOfWork;
 }
Beispiel #2
0
 public TruckExpenseService(ITruckExpenseRepository truckExpenseRepository,
                            ITruckRepository truckRepository,
                            ITrailerRepository trailerRepository,
                            IExpenseRepository expenseRepository,
                            IDriverRepository driverRepository,
                            ISupplierRepository supplierRepository,
                            ISupplierSettlementRepository supplierSettlementRepository,
                            IEmployeeRepository employeeRepository,
                            ICompanyExpenseRepository companyExpenseRepository,
                            IUnitOfWork unitOfWork)
 {
     this._supplierRepository           = supplierRepository;
     this._truckRepository              = truckRepository;
     this._trailerRepository            = trailerRepository;
     this._expenseRepository            = expenseRepository;
     this._driverRepository             = driverRepository;
     this._truckExpenseRepository       = truckExpenseRepository;
     this._supplierSettlementRepository = supplierSettlementRepository;
     this._employeeRepository           = employeeRepository;
     this._companyExpenseRepository     = companyExpenseRepository;
     this._unitOfWork = unitOfWork;
 }