예제 #1
0
 public IActionResult CreateUrl()
 {
     ViewBag.Categories = CategoryBs.GetAll();
     return(View());
 }
예제 #2
0
        public IActionResult Index()
        {
            var categories = categoryBs.GetAll();

            return(View(categories));
        }
예제 #3
0
        public IActionResult Index1()
        {
            List <Category> categories = _categoryBs.GetAll();

            return(View(categories));
        }