Exemplo n.º 1
0
        //Get the List of orders from the databse and send it to view.
        // GET: Purchase
        public ActionResult ViewOrder(string sessionid)
        {
            List <Order> olist = PurchaseData.GetOrders(sessionid);

            ViewBag.list    = olist;
            ViewBag.session = sessionid;
            return(View());
        }