コード例 #1
0
        public ActionResult ListCustomerOrders()
        {
            int UserID = (int)HttpContext.Session.GetInt32("UserID");

            List <OrderViewModel> orderViewModel = _buisnessLogicClass.GetAllTheOrdersByLoggedCustomer(UserID);


            return(View(orderViewModel));
        }