Пример #1
0
        public ActionResult PicInfo(string id)
        {
            ViewData["HotelPictures"] = HotelHelper.GetHotelPictures(id);
            string url      = HCRequest.GetString("surl").Split('@')[0];
            string weixinid = HCRequest.GetString("surl").Split('@')[1];
            Hotel  hotel    = Cache.GetHotel(Convert.ToInt32(id));

            ViewData["hotel"]    = hotel;
            ViewData["url"]      = url;
            ViewData["weixinid"] = weixinid;
            return(View());
        }