public RepositoryBasketDiscountPolicy(DiscountRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; }
public DiscountCampaign(DiscountRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; }