Пример #1
0
        public void FillBucket()
        {
            Items = new Dictionary <string, Hotel>();
            var hotels = crmService.GetHotels();

            if (hotels == null)
            {
                return;
            }
            foreach (var h in hotels)
            {
                Items.Add(h.Code, h);
            }
        }