public IQueryable <PluralFormRule> PluralFormRules()
 {
     return(persistenceManager.GetEntities <PluralFormRule>().AsNoTracking());
 }
 public IQueryable <LocalizationRecord> LocalizationRecords(string resourceKey, string key)
 {
     return(persistenceManager.GetEntities <LocalizationRecord>()
            .Where(i => (resourceKey == null || i.ResourceKey == resourceKey) && (key == null || i.Key == key)).OrderBy(i => i.LocalizationCulture == Settings.NeutralCulture ? 0 : 1).ThenBy(i => i.LocalizationCulture));
 }