public void Edit(List <T> entities) { _context.Set <T>().UpdateRange(entities); _context.SaveChanges(); }
public Repository(CinderellaCoreContext context) { _context = context; _dbSet = _context.Set <T>(); }