예제 #1
0
        public IViewComponentResult Invoke()
        {
            CategoriRepository categoriRepository = new CategoriRepository();
            var categoryList = categoriRepository.TList();

            return(View(categoryList));
        }
예제 #2
0
 public IActionResult Index()
 {
     return(View(categoriRepository.TList()));
 }