private int GetCountryCodeDetails(string countryCode) { if (CountryCodes.GetCountryCodes().ContainsKey(countryCode.ToUpper())) { return(CountryCodes.GetCountryCodes()[countryCode.ToUpper()]); } else { throw new Exception("Invalid country code"); } }
private int GetCountryCodeDetails(string countryCode) { if (CountryCodes.GetCountryCodes().ContainsKey(countryCode.ToUpper())) { return(CountryCodes.GetCountryCodes()[countryCode.ToUpper()]); } else { throw new Exception("Invalid country code"); } }