public void CreateFinal(int orderID)
        {
            ClientOrderViewModel cc = new ClientOrderViewModel();

            cc.OrderedProducts = GetOrderList(orderID);

            AllProducts = cd.ListProducts();
            cc.AllProducts = AllProducts;
            ViewBag.StoreID = new SelectList(db.Stores, "StoreID", "Name");
            ViewBag.RetailerID = new SelectList(db.Retailers, "RetailerID", "Name");
            //Create();
            RedirectToAction("Create", cc);
        }
        //public IEnumerable<OrderProduct> GetOrderList()
        //return RedirectToAction("Create");
        public IEnumerable<OrderProduct> GetOrderList(int orderID)
        {
            ClientOrderDAL clientorder = new ClientOrderDAL();
            // orderid = clientorder.GetLastOrderID();

            ClientOrderViewModel orderprod = new ClientOrderViewModel();
            orderprod.AllProducts = AllProducts;
            orderprod.OrderedProducts = cd.AllOrderedProduct(orderID);
            // orderprod.OrderedProducts=clientorder.GetLastOrderID();
            ViewBag.StoreID = new SelectList(db.Stores, "StoreID", "Name");
            ViewBag.RetailerID = new SelectList(db.Retailers, "RetailerID", "Name");
            return orderprod.OrderedProducts;
        }