public void FillBucket() { Items = new Dictionary <string, string>(); var gateways = crmService.GetGateways(); if (gateways == null) { return; } foreach (var gateway in gateways) { Items.Add(gateway.Code, gateway.Id); } }
public void FillBucket() { Items = new Dictionary <string, string>(); Items = crmService.GetGateways(); }