public ActionResult Delete(int postId, int id) { // TODO Delete the comic book artist. _postTagsRepository.Delete(id); TempData["Message"] = "Your tag was successfully deleted!"; return(RedirectToAction("Edit", "Post", new { id = postId })); }
public ActionResult Delete(int postId, int id) { // TODO Delete the comic book artist. _postTagsRepository.Delete(id); TempData["Message"] = "Your tag was successfully deleted!"; return(RedirectToAction("Edit", "Post", new { id = postId })); }