public static ContactPhone ToContactPhone(this NGPhone phone) { var winPhone = new ContactPhone() { Kind = (ContactPhoneKind)phone.Kind, Number = phone.Number, Description = phone.Description }; return(winPhone); }
public static NGPhone ToNGPhone(this ContactPhone phone) { var ngPhone = new NGPhone() { Kind = (NGPhoneKind)phone.Kind, Number = phone.Number, Description = phone.Description }; return(ngPhone); }