private static void SetPhoneHrefLinks(MemberViewModelBase member)
 {
     member.HrefPhoneNumberLink = PhoneCallService.GetHrefPhoneNumberLink(member.PhoneNumber);
     member.HrefCellNumberLink  = PhoneCallService.GetHrefPhoneNumberLink(member.CellPhoneNumber);
 }
Esempio n. 2
0
 /// <summary>
 /// Change phone number to tel link for a single user
 /// eg. "tel:+15551234567"
 /// </summary>
 /// <param name="user"></param>
 public void SetHrefLinkForPhoneNumbers(AppUserViewModelBase user)
 {
     user.HrefPhoneNumberLink = PhoneCallService.GetHrefPhoneNumberLink(user.PhoneNumber);
     user.HrefCellNumberLink  = PhoneCallService.GetHrefPhoneNumberLink(user.CellNumber);
 }