Пример #1
0
 public void TestSimpleInvoice()
 {
     var invoice = new Invoice() {CompanyName = "Sammy Sweet Shop", OrderNumber = "123", OrderDate = new DateTime(1592, 3, 14)};
     invoice.AddLineItem("Candy Bars", 0.50, 200);
     invoice.AddLineItem("Fizzy Straws", 0.70, 100);
     Invoice = invoice;
 }
		private void LoadInvoiceById()
		{
			Invoice = new InvoiceLoaderById(Page.ClientQueryString).Load();
		}
Пример #3
0
 private void LoadInvoiceById()
 {
     Invoice = new InvoiceLoaderById(Page.ClientQueryString).Load();
 }