Пример #1
0
        public async Task PrintAllAsync()
        {
            var movieCastCollection = await MovieCastRepository.GetAllAsync();

            foreach (var i in movieCastCollection)
            {
                Console.WriteLine(i.Id + " \t " + i.id);
            }
        }
Пример #2
0
 public MovieCastServices()
 {
     movieCastRepository = new MovieCastRepository();
 }