public ActionResult CollectItem()
        {
            CollectItemModel model = new CollectItemModel();

            // If location id already set
            int? selectedLocationID = Session[SessionNames.CollectItemSelectedLocation] as int?;
            if (selectedLocationID.HasValue)
                model.LocationID = selectedLocationID.Value;
            else
                model.LocationID = LocationBL.GetFirstPriorityLocation().ID;

            return View(model);
        }
        public ActionResult CollectItem(CollectItemModel model)
        {
            if (ModelState.IsValid == false)
                return View(model);

            model.ArrangeProperties();
            Session[SessionNames.CollectItemSelectedLocation] = model.LocationID;

            var orderItem = CheckoutBL.GetOrderItemByLocationAndBarcode(model.LocationID, model.Barcode);
            if (orderItem == null)
            {
                SetErrorMessage("Bu mağazada ürün bulunamadı.");
                return View();
            }

            return RedirectToAction("MarkItemAsFoundForCollectItemPage", new { orderItem.ID, model.LocationID, model.Barcode });
        }