예제 #1
0
        // GET: RecipeCategories/Create
        public ActionResult Create()
        {
            ViewBag.RecipeCategories = _recipeCategoryService.GetAll().ToList();

            return(View());
        }
예제 #2
0
 public ActionResult Index()
 {
     return(View(_recipeCategoryService.GetAll()));
 }