Пример #1
0
        public async void SaveAsync()
        {
            await MovieCatalog.SaveAsync();

            await TheaterCatalog.SaveAsync();

            await ShowCatalog.SaveAsync();

            await TicketCatalog.SaveAsync();
        }
Пример #2
0
        public async void LoadAsync()
        {
            await MovieCatalog.LoadAsync();

            await TheaterCatalog.LoadAsync();

            await ShowCatalog.LoadAsync();

            await TicketCatalog.LoadAsync();
        }