public void Update(tbl_ChapterContent content) { objDb.Update(content); }
public void Insert(tbl_ChapterContent content) { objDb.Insert(content); }
public void Delete(int Id) { tbl_ChapterContent content = db.tbl_ChapterContent.Find(Id); db.tbl_ChapterContent.Remove(content); }
public void Update(tbl_ChapterContent content) { db.Entry(content).State = EntityState.Modified; }
public void Insert(tbl_ChapterContent content) { db.tbl_ChapterContent.Add(content); Save(); }