public ActionResult AddTag(Tag tag) { if (ModelState.IsValid) { var dao = new TagDAO(); var res = dao.AddTag(tag); if (res) { SetAlert("Tag đã được thêm thành công", "success"); return(RedirectToAction("Index", "Tag")); } if (res) { SetAlert("Tag đã được thêm thành công", "success"); return(View()); } } return(View()); }