public ActionResult UpdateProductLevels(MVCxGridViewBatchUpdateValues <MarketProductLevelViewModel, int> updateValues)
        {
            int marketId = Convert.ToInt32(Request.Params["MarketId"]);

            foreach (var product in updateValues.Update)
            {
                if (updateValues.IsValid(product))
                {
                    _marketServices.UpdateProductLevelsForMarkets(marketId, product.ProductID,
                                                                  product.MinStockQuantity, CurrentUserId);
                }
            }
            return(_StockLevelsPartial(marketId));
        }