public bool AddOrUpdate(Product product) { throw new NotImplementedException(); }
public bool AddOrUpdate(Product product) { _context.ProductTable.AddOrUpdate(product); return _context.SaveChanges() > 0; }
public bool AddOrUpdate(Product product) { throw new NotImplementedException(); }
public bool AddOrUpdate(Product product) { _context.ProductTable.AddOrUpdate(product); return _context.SaveChanges() > 0; }