/// <summary> /// Cart Summary Function /// </summary> /// <returns></returns> public ActionResult Cart() { if (Session["id"] == null) { return(HttpNotFound()); } string id = Session["id"].ToString(); CartDTO cart = CartLogic.CustomerCart(new Guid(id)); Cart cartView = CartMapping.MapCart(cart); return(View(cartView)); }