public async Task <IViewComponentResult> InvokeAsync(int id) { var data = await _taskRepo.AllTaskListAsync(id); return(View(data)); }