using Model; using System; using System.Collections.ObjectModel; using System.Xml.Linq; namespace VMWrapper { // All the code in this file is included in all platforms. public class BookViewModel { ILibraryManager data; ObservableCollection authorList; public BookViewModel(ILibraryManager data) { this.data = data; } public async Task> GetAuthor() { var objet = await data.GetAuthorsByName("",0,10); var ojb = objet.Item2; return new ObservableCollection(ojb); } } }