private void ShowMessage(RRExpress.Service.Entity.Message msg) { if (msg == null) { return; } msg.IsReaded = true; this.NS.For <MessageViewModel>() .WithParam(p => p.ID, msg.MessageID) .Navigate(); }
private async void LoadData() { this.IsBusy = true; var mth = new GetMessage() { ID = this.ID }; this.Data = await ApiClient.ApiClient.Instance.Value.Execute(mth); this.NotifyOfPropertyChange(() => this.Data); this.IsBusy = false; }