public ActionResult EditStockLevels(int id)
        {
            if (!caSession.AuthoriseSession())
            {
                return(Redirect((string)Session["ErrorUrl"]));
            }

            var market = _marketServices.GetMarketById(id);

            ViewBag.MarketName = market.Name;
            ViewBag.MarketId   = market.Id;
            var model = _marketServices.GetAllStockLevelsForMarket(id);

            return(View(model));
        }