public PolicyCreatedHandler(IDataStore dataStore, PolicyAccountNumberGenerator policyAccountNumberGenerator) { this.dataStore = dataStore; this.policyAccountNumberGenerator = policyAccountNumberGenerator; }
public PolicyCreatedHandler(IUnitOfWork unitOfWork, PolicyAccountNumberGenerator policyAccountNumberGenerator) { this.unitOfWork = unitOfWork; this.policyAccountNumberGenerator = policyAccountNumberGenerator; }