Beispiel #1
0
        public RecommendAFriendService(Domain.IReferralPolicy policy)
        {
            // subscribe to events on domain model
            policy.ReferralAccepted += HandleReferralAccepted;
            policy.ReferralRejected += HandleReferralRejected;

            this.policy = policy;
        }
Beispiel #2
0
 public RecommendAFriendService(Domain.IReferralPolicy policy)
 {
     this.policy = policy;
 }