Bloom.Book.Book.SetTopic C# (CSharp) Method

SetTopic() public method

This gets called as a result of a UI action. It sets the new topic in our data, but doesn't do anything related to how it is displayed on the page. The way to think about this is that we're aiming for a more reactâ„¢-style flow.
public SetTopic ( string englishTopicAsKey ) : void
englishTopicAsKey string
return void
        public void SetTopic(string englishTopicAsKey)
        {
            _bookData.Set("topic",englishTopicAsKey,"en");
        }
Book