Exemplo n.º 1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            //var result = await _konuRepository.GetirHepsiKonu();
            var result = await _konuService.GetAllKonu();

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

            return(View(list));
        }