protected void Page_Load(object sender, EventArgs e) { VendingBL vm = new VendingBL(); quantity qnt = new quantity(); int id = qnt.qntId; List <string> invalid = vm.Qnty(id); if (invalid.Count == 0) { lblLow.Text = ""; } else { lblLow.Text = invalid[0]; } }
public vendingUI1() { vbl = new VendingBL(); vc = new VendingMachineContext(); }