Example #1
0
        private async Task <Person> asyncUpdatePerson(Person p)
        {
            TmdbWrapper.Persons.Person fullPerson = await TheMovieDb.GetPersonAsync(p.Id);

            p.HomePage     = fullPerson.Homepage;
            p.Biography    = fullPerson.Biography;
            p.Birthday     = fullPerson.Birthday;
            p.Deathday     = fullPerson.Deathday;
            p.PlaceOfBirth = fullPerson.PlaceOfBirth;
            p.Updated      = true;
            return(p);
        }
Example #2
0
 /// <summary>
 /// Retrieves the associated person
 /// </summary>
 public async Task <Persons.Person> PersonAsync()
 {
     return(await TheMovieDb.GetPersonAsync(Id));
 }