// GET: OrderController/Create
        public ActionResult Create()
        {
            int?qt = HttpContext.Session.GetInt32("customerQuantity");

            ViewData["Quantity"] = qt;
            decimal totalprice = Convert.ToDecimal(HttpContext.Session.GetString("Customer Total"));

            ViewData["Total"] = totalprice;
            String pname = HttpContext.Session.GetString("Product name");

            ViewData["Product"] = pname;
            Orders ord = new Orders();

            ord.total      = totalprice;
            ord.orderdate  = DateTime.Now;
            ord.customerid = HttpContext.Session.GetInt32("customerId");
            ord.locationid = HttpContext.Session.GetInt32("locationID");
            _strBL.AddOrder(ord);
            return(View());
        }