public async Task <IViewComponentResult> InvokeAsync() { //var result = await _konuRepository.GetirHepsiKonu(); var result = await _konuService.GetAllKonu(); return(View(result)); }
public async Task <IActionResult> KonuList() { var list = await _konuService.GetAllKonu(); return(View(list)); }