private void HyperLinkSendTestText_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(this.m_ClientOrderClone.PPhone) == false) { JObject jsonRequest = APIRequestHelper.GetSendTextMessage(this.m_ClientOrderClone.PPhone, "This text is to confirm that a SARS-CoV-2 test has been ordered with Yellowstone Pathology Institute. You will receive a text at this number when your result is complete."); APIResult apiResult = APIRequestHelper.SubmitAPIRequestMessage(jsonRequest); MessageBox.Show($"A text was sent to {this.m_ClientOrderClone.PPhone}"); } else { MessageBox.Show("You must enter a phone number to use this function."); } }