public TopNavigationModel Get() { var result = new TopNavigationModel { CurrentUser = _intranetUserService.GetCurrentUser(), CentralUserListUrl = _contentPageContentPropvider.GetUserListContentPageFromPicker()?.Url }; return(result); }
public virtual UserListLinkModel GetUserListLink() { var contentPage = _contentPageContentPropvider.GetUserListContentPageFromPicker(); return(new UserListLinkModel() { ContentPage = contentPage, IsVisible = contentPage != null, Name = contentPage?.Name, Url = contentPage?.Url }); }