public void SetViewBagNew(int?selectedNewID = null) { var service = new NewService(); ViewBag.NewCategoryID = new SelectList(service.ListAllNew(), "ID", "Name", selectedNewID); }