private bool IsLeadInFinalStatus(Entity lead) { Guid leadStatusId = lead.GetTypedColumnValue <Guid>("QualifyStatusId"); LeadStatusChecker leadStatusStore = GetLeadStatusChecker(); return(leadStatusStore.IsLeadInFinalStatus(leadStatusId)); }
private LeadStatusChecker GetLeadStatusChecker() { return(_leadStatusChecker ?? (_leadStatusChecker = new LeadStatusChecker(UserConnection))); }