public ActionResult Cart() { //userid = Convert.ToInt32(Session["User_id"]); int userid = Convert.ToInt32(Session["User_id"]); var cart = cartmanager.Cart(userid); return(View(cart)); }