private void addContactRequest() { if (model.isEmailAddress(SearchBox_UserEMail)) { Debug.WriteLine("mail valid"); model.sendContactApplyRequest(currentUser.EMail, SearchBox_UserEMail, AddContactDiscription); } else { Debug.WriteLine("mail invalid"); SearchBox_UserEMail = null; } }
private void apply() { model.sendContactApplyRequest(model.CurrentUser.EMail, EMail, Discription); eventAggregator.GetEvent <CloseUserExistOrNotExistViewEvent>().Publish(true); }