public ActionResult SaveCategory(ArticleCategoryViewModel category) { ViewBag.ActiveMenu = "news-cat"; try { if (category.ICArticleCategoryID > 0) { _categoryService.Update(category); } else { _categoryService.CreateArticleCategory(category); } TempData["SUCCESS"] = true; TempData["Message"] = "Lưu dữ liệu thành công!"; } catch (Exception ex) { ViewBag.SUCCESS = false; ViewBag.Message = ex.Message; } ViewBag.IsBlog = false; return(RedirectToAction("NewsCategory")); }