// GET: Chat/Chatrooms public async Task <IActionResult> Index() { List <Chatroom> chatrooms = await _service.GetUserChatroomsAsync(User); return(View(chatrooms)); }