public ActionResult Index(int newCategoryId = 0) { AdminNewViewModel model = new AdminNewViewModel(); model.ListNew = newRepository.GetListNewAdmin(newCategoryId); //var model = newRepository.News.Where(x => x.TrangThai == true).ToList(); return(View(model)); }