You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
593 B

using System.Collections.Generic;
namespace WebApp.Outlook.Models
{
public class Contacts
{
public string DisplayName { get; set; }
public string EmailAddress { get; set; }
public string MobilePhone { get; set; }
public Contacts(string displayName, IList<Microsoft.Office365.OutlookServices.EmailAddress> emailAddresses, string mobilePhone)
{
this.DisplayName = displayName;
this.EmailAddress = emailAddresses.Count <= 0 ? "" : emailAddresses[0].Address;
this.MobilePhone = mobilePhone;
}
}
}