public static int MassIncreasePrice(this IQueryable <Product> products, MassIncreasePrice command) => products .BatchUpdate(Product.BatchUpdates.MassIncreasePrice(command));
public Expression <Func <Product, Product> > MassIncreasePrice(MassIncreasePrice command) => x => new Product { Name = x.Name, Price = x.Price + command.Price };