public void UpdateLanguage(LanguageDTO Language) { var entity = Language.ToEntity(); _LanguageRepository.Update(entity); _CacheManager.Remove(LANGUAGES_ALL_KEY); }
public void InsertLanguage(LanguageDTO Language) { var entity = Language.ToEntity(); _LanguageRepository.Insert(entity); Language.Id = entity.Id; _CacheManager.Remove(LANGUAGES_ALL_KEY); }