public ClosableInternalWebViewPageViewModel(INavigationService navigationService, IRepository <Announcement> announceRep) { _navigationService = navigationService; _repository = announceRep; CloseButtonClickCommand = new AsyncReactiveCommand(); CloseButtonClickCommand.Subscribe(async() => { await _navigationService.GoBackAsync(null, true); }).AddTo(this.Disposable); Title.AddTo(this.Disposable); Content.AddTo(this.Disposable); }