// // 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)); }
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)); } }