public async Task <IViewComponentResult> InvokeAsync() { var userId = HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; var chats = await _getChats.Do(userId); return(View(chats)); }