public ActionResult editFollowing(editFollowingViewModel model, string id)
 {
     ViewBag.viewerror = "";
     ViewBag.title = id;
     if (id == null || id == "")
     {
         return RedirectToAction("Headlines", "searchHeadlines");
     }
     if (headlineq.permissionCount("edit", id) != 1)
     {
         var defineModel = new editFollowingViewModel();
         defineModel.headline = id;
         defineModel.username = WebSecurity.CurrentUserName;
         return View(defineModel);
     }
     else { ViewBag.viewerror = "You do not have permission to edit, though you might be able to view"; }
     return View(new editFollowingViewModel());
 }
 public ActionResult editFollowing(editFollowingViewModel mode)
 {
     return View();
 }