Пример #1
0
        public static List <CountryColourVJ> GetCountryNames(String CountryId)
        {
            List <String> lstCountryId = new List <String>();

            lstCountryId = CountryId.Split(',').ToList();
            var result = DefaultListDSForPJ.GetCountryNames(lstCountryId);

            return(result);
        }
Пример #2
0
        public static string GetCountryName(string CountryId)
        {
            List <String> lstCountryId = new List <String>();

            lstCountryId = CountryId.Split(',').ToList();

            var listresponse = DefaultListDSForPJ.GetCountryNames(lstCountryId);

            string result = string.Join(",", listresponse.Select(r => r.CountryNames));

            return(result);
        }