public DataTable InsertBarcode(string ProductID, int Quantity, string LotNumber, string VendorID) { DataTable table = new DataTable(); table = bg.GenerateBarcode(LotNumber, Quantity, ProductID, VendorID); return(table); }
private void AddNewBook(object sender, BookRelatedEventArgs e) { Book = e.Book; LibraryDataIO.Instance.AddBook(Book); var barcode = barcodeGenerator.GenerateBarcode(Book.ID); }