Exemplo n.º 1
0
        public async Task <IViewComponentResult> InvokeAsync()
        {
            var userId = HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value;
            var chats  = await _getChats.Do(userId);

            return(View(chats));
        }