//Vendor submit orders public ActionResult SubmitOrder(int id) { Vendor myvendor = new Vendor(); myvendor.AcceptOrder(id); return(RedirectToAction("VendorOrders")); }
//Vendor submit orders public ActionResult SubmitOrder(int id) { Vendor myvendor = new Vendor(); myvendor.AcceptOrder(id); return(RedirectToAction("VendorOrders")); }