public void AddItem() { ItemConnector sc = new ItemConnector(); sc.InsertItem(this.Barcode, this.ItemDescription, this.ItemCategory.CategoryName); }
static public void AddItem(string barcode, string itemDescription, string itemCategory) { ItemConnector sc = new ItemConnector(); sc.InsertItem(barcode, itemDescription, itemCategory); }