Exemplo n.º 1
0
        public ActionResult bbsImages()
        {
            bizBBSMain b = new bizBBSMain();
            List<BBSMain> list = b.List();
            foreach (var item in list)
            {
                BBSMain model = b.Get(item.BBSMainID);
                model.Attach();
                if (model.UpImages != null)
                    model.UpImages = model.UpImages.Replace("/userfiles/", "http://img1.woxx8.com/userfiles/");
                model.Detach();
                b.Update(model);
            }

            return View("UserQMSet");
        }