public JsonResult ItemDetails()
        {
            if (TempData.ContainsKey("iid"))
            {
                itemid = int.Parse(TempData["iid"].ToString());
            }
            var lstdetails = ecommerceService.SingleItemDetails(itemid);

            return(Json(lstdetails, JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        public JsonResult ItemDetailsshortview(int id)
        {
            var lstdetails = ecommerceService.SingleItemDetails(id);

            return(Json(lstdetails, JsonRequestBehavior.AllowGet));
        }