示例#1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            //var result = await _konuRepository.GetirHepsiKonu();
            var result = await _konuService.GetAllKonu();

            return(View(result));
        }
示例#2
0
        public async Task <IActionResult> KonuList()
        {
            var list = await _konuService.GetAllKonu();

            return(View(list));
        }