Beispiel #1
0
        // GET: OrderProducts
        public ActionResult Index()
        {
            //var orderProducts = db.OrderProducts.Include(o => o.Order).Include(o => o.Product);
            var orderProducList = orderProductRepo.GetItems().ToArray();

            return(View(orderProducList));
        }
Beispiel #2
0
 // GET: PickingOrders/Create
 public ActionResult Create()
 {
     ViewBag.OrderProductId = new SelectList(orderProductRepo.GetItems(), "Id", "Id");
     ViewBag.StoragePlaceId = new SelectList(storageRepo.GetItems(), "Id", "Id");
     return(View());
 }