Пример #1
0
        public ParleyAttendee CreateAttendee(string firstName, string lastName, string email, bool asGuest)
        {
            Person newAttendee = Person.Create(firstName + "|" + lastName, email, string.Empty, string.Empty,
                                               string.Empty, string.Empty, string.Empty,
                                               Organization.DefaultCountry.Code, DateTime.Now, PersonGender.Unknown);

            return(ParleyAttendee.Create(this, newAttendee, asGuest));
        }
Пример #2
0
        public static ParleyOptions ForParleyAttendee(ParleyAttendee attendee)
        {
            int[] parleyOptionIds = SwarmDb.GetDatabaseForReading().GetParleyAttendeeOptions(attendee.Identity);

            return(FromIdentities(parleyOptionIds));
        }