private async void AddRecipient() { var mail = await _dialogService.OpenRecipientAsync(); if (!string.IsNullOrEmpty(mail) && _mailSender.IsEmailValid(mail)) { Recipients.Add(new MailRecipientViewModel(RemoveRecipient) { EMail = mail }); } }
private void AddEMail() { IsValidMail = _mailSender.IsEmailValid(EMail); OnAddEmail?.Invoke(); }