public async Task AddContact(ExchangeClientDemo.Models.MyContact contact)
        {
            var client = await EnsureClientCreated();

            var newContact = new Microsoft.Office365.Exchange.Contact {
                GivenName      = contact.GivenName,
                Surname        = contact.Surname,
                CompanyName    = contact.CompanyName,
                EmailAddress1  = contact.EmailAddress1,
                BusinessPhone1 = contact.BusinessPhone1,
                HomePhone1     = contact.HomePhone1
            };
            await client.Me.Contacts.AddContactAsync(newContact);
        }
        public async Task AddSampleData()
        {
            var client = await EnsureClientCreated();

            foreach (var contact in ContactFactory.GetContactList(30))
            {
                var newContact = new Microsoft.Office365.Exchange.Contact {
                    GivenName      = contact.GivenName,
                    Surname        = contact.Surname,
                    CompanyName    = contact.CompanyName,
                    EmailAddress1  = contact.EmailAddress1,
                    BusinessPhone1 = contact.BusinessPhone1,
                    HomePhone1     = contact.HomePhone1
                };
                await client.Me.Contacts.AddContactAsync(newContact);
            }
        }