public Task ModifiedAsync(Product_item product_Item) { _context.Entry(product_Item).State = EntityState.Modified; return(_context.SaveChangesAsync()); }
public Task RemoveAsync(Product_item product_Item) { _context.Remove(product_Item); return(_context.SaveChangesAsync()); }
public Task AddAsync(Product_item product_Item) { _context.Product_items.AddAsync(product_Item); return(_context.SaveChangesAsync()); }