示例#1
0
        //
        // GET: /Tag/

        public ActionResult p_TagHeader(string tagName)
        {
            bn_HashTag bnHashTag = new bn_HashTag();
            var        model     = bnHashTag.GetByTagName(tagName);

            bnHashTag.IncrViews(model.HashTagId);

            return(View(model));
        }
示例#2
0
        public ActionResult Edit(string tagName)
        {
            bn_HashTag bn_hashTag = new bn_HashTag();
            var        model      = bn_hashTag.GetByTagName(tagName);

            //clear iconpath;
            Session["IconPath"] = null;

            if (model != null)
            {
                return(View(model));
            }
            else
            {
                return(View(model));
            }
        }