public JsonResult ItemDetails() { if (TempData.ContainsKey("iid")) { itemid = int.Parse(TempData["iid"].ToString()); } var lstdetails = ecommerceService.SingleItemDetails(itemid); return(Json(lstdetails, JsonRequestBehavior.AllowGet)); }
public JsonResult ItemDetailsshortview(int id) { var lstdetails = ecommerceService.SingleItemDetails(id); return(Json(lstdetails, JsonRequestBehavior.AllowGet)); }