public void ShowPosition(PositionBrief pos) { if (pos == null) return; this.NS .For<JobDetailViewModel>() .WithParam(p => p.ID, pos.PositionId) .Navigate(); }
public SearchedItemViewModel(PositionBrief data, INavigationService ns) { this.Data = data; this.TapCmd = new Command(() => ShowDetail()); this.NS = ns; }