private async void PostQuestionMethod() { if (_question == null) { return; } #region Checking Network if (false == Utility.Instance.IsNetworkAvailable) { ToasteIndicator.Instance.Show(String.Empty, "网络连接已中断", null, 3); return; } #endregion var topicIds = Topics.Aggregate(String.Empty, (current, topic) => current + String.Format("{0},", topic.Id)); if (topicIds.Length >= 1) { topicIds = topicIds.Substring(0, topicIds.Length - 1); } var result = await _question.CreateAsync(LoginUser.Current.Token, IsAnonymous, topicIds, Title, Description); if (result.Error != null) { ToasteIndicator.Instance.Show(String.Empty, result.Error.Message, null, 3); return; } if (_navigate == null) { return; } _navigate.GoBack(); //VmNavHelper.NavToProfileQuestionsPage(LoginUser.Current.Profile.Id, _navigate); }