Exemplo n.º 1
0
        private async Task <List <AuthorViewModel> > GetAuthors(Document doc)
        {
            using (var progress = DialogHelper.ShowProgress(AppResources.LOADING_DOCUMENT_INFO))
            {
                var autores = await HttpRequest.GetJson <List <Author> >(EndPointHelper.GetDocumentAuthors(doc.Id));

                return(autores.Select(a => new AuthorViewModel(a)).ToList());
            }
        }