Пример #1
0
        private static void CheckTranslationStorageExist()
        {
            var translationRepo    = new EditorTranslationInfoRepository();
            TranslationInfoSet set = translationRepo.Get();

            if (set == null)
            {
                translationRepo.CreateModel();
            }
        }
Пример #2
0
 public EditorTranslationInfoRepository()
 {
     this._translationInfoSet = this.Get();
 }