public AllocationRuleHandlerBuilder HandleWith( params SalesGroup[] salesGroups) { AddHandler(_allocationRuleHandlerFactory .Invoke(SalesPersonCriteria.WithCriteria(salesGroups))); return(this); }
public AllocationRuleHandler( SalesPersonStore store, SalesPersonCriteria salesPersonCriteria, BehaviourConfiguration behaviourConfiguration) { _store = store; _salesPersonCriteria = salesPersonCriteria; _behaviourConfiguration = behaviourConfiguration; }