public void Insert(InformationContent entity)
 {
     context.InformationContent.Add(entity);
     context.SaveChanges();
 }
 public void Insert(ErrorEntity entity)
 {
     context.ErrorEntity.Add(entity);
     context.SaveChanges();
 }
 public void InsertInformationContentReadList(DATA.Models.InformationReadLog informationReadLog)
 {
     context.InformationReadLog.Add(informationReadLog);
     context.SaveChanges();
 }
Beispiel #4
0
        public void Update(AppUser entity)
        {
            context.Entry(entity).State = EntityState.Modified;

            context.SaveChanges();
        }