public virtual MembershipRegistration RegisterAsMember() { if (IsInActiveMembership) { throw new ApplicationException(@"Customer already is a member"); } var registration = new MembershipRegistration(this); _membership = new Membership(); return(registration); }
public virtual MembershipRegistration RegisterAsMember() { if (IsInActiveMembership) { throw new ApplicationException(@"Customer already is a member"); } var registration = new MembershipRegistration(this); _membership = new Membership(); return registration; }