public ActionResult AddItemToCart(string productCode, int qty, string areaName) { var area = areaProvider.GetAreaByName(areaName); if (area == null) { return(RedirectToAction("InvalidCheckOutProcess")); } cartManager.SetOrderArea(area.Id); cartManager.AddProductToCart(productCode, qty); return(Json(cartManager.CountItemsInCart(), JsonRequestBehavior.DenyGet)); }