This commit is contained in:
sc committed 2022-03-06 13:11:10 +08:00
commit 4ae6df4e79
2 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ namespace Models
if (t == null) return 0;
if (String.IsNullOrEmpty(t.ProductCode)) return 0;
db.Product.Add(t);
int count = db.SaveChanges();
return count;
int counti = db.SaveChanges();
return counti;
}
public List<Product> Select()