public List <CountryLanguageLine> GetCountryLanguageLineList(List <Country> items)
        {
            var result    = new List <CountryLanguageLine>();
            var languages = _repositoryLanguage.Get();
            var dataList  = new CountryDatas().CountryLanguageLines;

            for (var i = 0; i < items.Count(); i++)
            {
                foreach (var language in languages)
                {
                    var dataListItem = dataList[i].Country;
                    var item         = new CountryLanguageLine
                    {
                        Id          = Guid.NewGuid(),
                        Country     = items.FirstOrDefault(x => x.CountryCode == dataListItem.CountryCode),
                        Language    = language,
                        CountryName = dataList[i].CountryName,
                        CreateDate  = DateTime.Now
                    };
                    result.Add(item);
                }
            }

            return(result);
        }
        public List <Country> GetCountryList()
        {
            var dataList = new CountryDatas().CountryLanguageLines;

            return(dataList.Select((dataListItem, i) => new Country
            {
                Id = Guid.NewGuid(),
                CountryCode = dataListItem.Country.CountryCode,
                DisplayOrder = i + 1,
                IsApproved = true,
                CreateDate = DateTime.Now,
            }).ToList());
        }