public ActionResult CreateBill(int id) { combined c = new combined(); c.customer = customerhandle.GetCustomers().Find(cm => cm.Cust_Id == id); return(View(c)); }
public ActionResult CreateBill(combined Products, int id) { //if (ModelState.IsValid) //{ Product product = Products.productmodel; OrderHandle orderhandle = new OrderHandle(); orderhandle.AddProduct(product, id); //} return(RedirectToAction("Receipt")); }
private void Awake() { combined = FindObjectOfType <combined>(); }