public void AddTransferReferralAction(TransferReferralActionData data) { TransferReferralAction action = TransferReferralAction.Create(data, this); this.DirectSalesAgentId = data.ToDirectSalesAgentId; this.directSalesAgent = null; SendReferralEmailToProspect(); if (NotifyDemonstrator) { SendDemonstratorNotification(); } this.Store(); ((Demonstrator)DirectSalesAgent).UpdateReferralCount(); }
public void Reload() { ReferralDAO.DAO.Reload(this); directSalesAgent = null; }