public void EditUser(Users user) { db.Entry(user).State = EntityState.Modified; db.SaveChanges(); }
public void EditArticle(Articles article) { db.Entry(article).State = EntityState.Modified; db.SaveChanges(); }
public void EditUser(Users user) { db.Entry(user).State = EntityState.Modified; db.SaveChanges(); }
public void EditArticle(Articles article) { db.Entry(article).State = EntityState.Modified; db.SaveChanges(); }