예제 #1
0
        public void UpdateLanguage(LanguageDTO Language)
        {
            var entity = Language.ToEntity();

            _LanguageRepository.Update(entity);
            _CacheManager.Remove(LANGUAGES_ALL_KEY);
        }
예제 #2
0
        public void InsertLanguage(LanguageDTO Language)
        {
            var entity = Language.ToEntity();

            _LanguageRepository.Insert(entity);
            Language.Id = entity.Id;
            _CacheManager.Remove(LANGUAGES_ALL_KEY);
        }