public static AppointmentInvitee ToInvitee(this NGInvitee invitee) { var winInvitee = new AppointmentInvitee() { Role = (AppointmentParticipantRole)invitee.Role, Response = (AppointmentParticipantResponse)invitee.Response, DisplayName = invitee.Name, Address = invitee.Email }; return(winInvitee); }
public static NGInvitee ToNGInvitee(this AppointmentInvitee invitee) { var ngInvitee = new NGInvitee() { Role = (NGParticipantRole)invitee.Role, Response = (NGParticipantResponse)invitee.Response, Name = invitee.DisplayName, Email = invitee.Address }; return(ngInvitee); }