예제 #1
0
        async Task PrintAllAsync()
        {
            IEnumerable <Cast> castCollection = await castService.GetAllAsync();

            foreach (var item in castCollection)
            {
                Console.WriteLine(item.Id + "\t" + item.Name + "\t" + item.Gender + "\t" + item.TmdbUrl + "\t" + item.ProfilePath);
            }
        }