Exemplo n.º 1
0
 public void Update(tbl_ChapterContent content)
 {
     objDb.Update(content);
 }
Exemplo n.º 2
0
 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();
 }