private void SendEmail() { SendState = SendingStateKey; _emailService.BeginSendEmailDocument( _emailDocument, r => _synchronizationContext.Post( s => { SendState = SentStateKey; // todo: 05 - Send Email: Navigating back // After the email has been 'sent' (we're using a mock mail service // in this application), the view model uses the navigation journal // it captured when it was navigated to (see the OnNavigatedTo in // this class) to navigate the region to the prior view. if (_navigationJournal != null) { _navigationJournal.GoBack(); } }, null), null); }