public void FillBucket() { Items = new Dictionary <string, SourceMarket>(); var sourceMarkets = crmService.GetSourceMarkets(); if (sourceMarkets == null) { return; } foreach (var sm in sourceMarkets) { Items.Add(sm.Code, sm); } }