/// <summary> /// Updating the BookDetail grid datasources /// </summary> /// <param name="selectedBook"></param> public async void UpdateBookDetails(Book selectedBook) { GOTBookCharacters.Clear(); GOTBookPOVCharacters.Clear(); await GOTFacade.GetDataListAsync(selectedBook.characters, GOTBookCharacters); await GOTFacade.GetDataListAsync(selectedBook.povCharacters, GOTBookPOVCharacters); }
/// <summary> /// Clear the bookpanel's datasources /// </summary> public void ClearBookData() { GOTBookCharacters.Clear(); GOTBookPOVCharacters.Clear(); }