public ActionResult StoreTheEmptyPallet(StorageOfEmptyProductViewModel model)
        {
            var deviceCode            = _configurationService.ProductDeviceCode;
            var terminalNo            = _identityServices.FindTerminalNo(HttpContext.User.Identity);
            var checkedConveyorStatus = _commonDomain.CheckStatusAndNumberRecordOfConveyor(terminalNo);

            if (!checkedConveyorStatus)
            {
                return(Json(new{ Success = false, Message = ProductManagementResources.MSG8 }));
            }

            var checkedDeviceStatus = _commonDomain.CheckStatusOfDeviceRecordForProductManagement(deviceCode);

            if (!checkedDeviceStatus)
            {
                return(Json(new{ Success = false, Message = ProductManagementResources.MSG9 }));
            }

            var checkedProductShelfStatus = _storageOfEmptyProductPalletDomain.CheckProductShelfStatus();

            if (!checkedProductShelfStatus)
            {
                return(Json(new { Success = false, Message = ProductManagementResources.MSG19 }));
            }

            _storageOfEmptyProductPalletDomain.StoreTheEmptyPallet(model.PalletNumber, terminalNo);
            return(Json(new { Success = true }));
        }
        //
        // GET: /ProductManagement/StorageOfEmptyProductPallet/
        public ActionResult Index()
        {
            var model = new  StorageOfEmptyProductViewModel();

            model.PalletNumber = 1;
            return(View(model));
        }