// TODO: Move to EventServiceHelper.cs? //private string GetPrimaryDirectors(int eventId, bool useMockRecipients) //{ // var recipients = string.Empty; // if (useMockRecipients) // recipients = WebConfigHelper.AdminEmails; // else // { // var primaryDirectors = _eventDirectorServices.GetPrimaryDirectors(eventId, WebConfigHelper.ApplicationIdCed); // if (primaryDirectors.Any()) // { // recipients = primaryDirectors.Select(x => x.DirectorEmail).ToCommaSeparatedString(); // } // } // return recipients; //} //private string GetPrimaryDirectorsForLocationUpdate(int eventId) //{ // return GetPrimaryDirectors(eventId, WebConfigHelper.TrackEditionLocationUpdateUseMockRecipients); //} private static List <Variance> GetDiffOnEvent(EventEntity existingEvent, EventEntity eventFromStaging) { var diffOnEvent = existingEvent.Compare <EventEntity, StagingDbComparableAttribute>(eventFromStaging); return(diffOnEvent); }