public IEnumerable <LocaleStringResource> GetByLanguageId(int languageId, bool isCache = true)
        {
            IEnumerable <LocaleStringResource> locale;

            if (isCache)
            {
                var sbKey = new StringBuilder();
                sbKey.AppendFormat(CacheLocalestringresourceKey, "GetByLanguageId");
                sbKey.AppendFormat("-{0}", languageId);

                var key = sbKey.ToString();
                locale = _cacheManager.GetCollection <LocaleStringResource>(key);
                if (locale == null)
                {
                    locale = _localeStringResourceRepository.FindBy(
                        x => x.LanguageId == languageId);
                    _cacheManager.Put(key, locale);
                }
            }
            else
            {
                locale = _localeStringResourceRepository.FindBy(
                    x => x.LanguageId == languageId);
            }

            return(locale);
        }
        public IEnumerable <App.Domain.Entities.Language.LocaleStringResource> GetByLanguageId(int languageId)
        {
            var locale = _LocaleStringResourceRepository.FindBy(
                (App.Domain.Entities.Language.LocaleStringResource x) => x.LanguageId == languageId, false);

            return(locale);
        }