public void Delete(PageGroup pagegroup) { db.Entry(pagegroup).State = Microsoft.EntityFrameworkCore.EntityState.Deleted; }
public void Delete(Pages page) { db.Entry(page).State = Microsoft.EntityFrameworkCore.EntityState.Deleted; }
public void Delete(PageGroup pagegroup) { db.Entry(pagegroup).State = Microsoft.EntityFrameworkCore.EntityState.Deleted; }
public void Delete(Pages page) { db.Entry(page).State = Microsoft.EntityFrameworkCore.EntityState.Deleted; }