public void OnNavigatedTo(INavigationParameters parameters) { Book book = parameters.GetValue <Book>("model"); Id = book.Id; Name = book.Name; Year = book.Year; AuthorId = book.AuthorId; PublisherId = book.PublisherId; SelectedAuthors = Authors.Find(x => x.Id == book.AuthorId); SelectedPublisher = Publishers.Find(x => x.Id == book.PublisherId); }