public SaleLeadService(ISaleLeadRepository repoSaleLead, ISalePositionLeadRepository repoSalePositionLead, ISalePositionLeadActionRepository repoSalePositionLeadAction, IEmployeeInPositionRepository repoEmployeeInPosition, ICustomerRepository repoCustomer, ISaleRepository repoSale, ISaleLeadStateRepository repoSaleLeadState) { _repoSaleLead = repoSaleLead; _repoSalePositionLead = repoSalePositionLead; _repoSalePositionLeadAction = repoSalePositionLeadAction; _repoEmployeeInPosition = repoEmployeeInPosition; _repoCustomer = repoCustomer; _repoSale = repoSale; _repoSaleLeadState = repoSaleLeadState; }
public SaleService(ISalePositionLeadRepository repoSalePositionLead, ISaleLeadStateRepository repoLeadState, ISaleLeadRepository repoSaleLead, ISaleRepository repoSale, ISaleLineItemRepository repoSaleLineItem, IProductRepository repoProduct, IEmployeeInPositionRepository repoEmployeeInPosition, ICustomerRepository repoCustomer) { _repoSaleLead = repoSaleLead; _repoSale = repoSale; _repoSaleLineItem = repoSaleLineItem; _repoProduct = repoProduct; _repoEmployeeInPosition = repoEmployeeInPosition; _repoCustomer = repoCustomer; _repoLeadState = repoLeadState; _repoSalePositionLead = repoSalePositionLead; }