List <Entity.MissingRecordEntity> FindMissingSFReferences(List <Entity.OpportunityEntity> opportunities, LoginResult Session, Opportunity opportunity) { Logger.Info("------------Started checking missing SF References records------------"); //2. Find missing records //2.1 New records in DM which is not yet created in SF //2.2 Wrong Salesforce number is updated in DM var missingRecords = opportunity.GetMissingSFReferenceRecords(opportunities, Session.sessionId); Logger.Info("------------Finished checking missing SF References records------------"); return(missingRecords); }