Exemplo n.º 1
0
        public SuClassificationLevelLanguageModel UpdateClassificationLevelLanguage(SuClassificationLevelLanguageModel suClassificationLevelLanguageChanges)
        {
            var suClassificationLevelLanguage = context.DbClassificationLevelLanguage.Attach(suClassificationLevelLanguageChanges);

            suClassificationLevelLanguage.State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            context.SaveChanges();
            return(suClassificationLevelLanguageChanges);
        }
Exemplo n.º 2
0
 public SuClassificationLevelLanguageModel AddClassificationLevelLanguage(SuClassificationLevelLanguageModel suClassificationLevelLanguage)
 {
     context.DbClassificationLevelLanguage.Add(suClassificationLevelLanguage);
     context.SaveChanges();
     return(suClassificationLevelLanguage);
 }