示例#1
0
 public int Complete()
 {
     return(_dbContext.SaveChanges());
 }
示例#2
0
 public void DeleteAsync(TEntity entity)
 {
     _context.Set <TEntity>().Update(entity);
     _context.SaveChanges();
 }