public ActionResult AddNewTag(string postid, string tagName, string tagUrlSeo) { if (postid != null) { _blogRepository.AddNewTag(tagName, tagUrlSeo); return(RedirectToAction("AddTagToPost", new { postid = postid })); } else { _blogRepository.AddNewTag(tagName, tagUrlSeo); return(RedirectToAction("CategoriesAndTags", "Blog")); } }