public ActionResult AddToPost(PostTag postTag) { try { _postTagRepo.AddTag(postTag); return(RedirectToAction("Index", "PostTag", new { @postId = postTag.PostId })); } catch (Exception ex) { return(View()); } }