public ActionResult ChatMenu() { var model = new List <ChatModel>(); var users = AsyncHelper.RunSync(() => _sessionAppService.GetCurrentLoginInformationsLs()); foreach (var getCurrentLoginInformationsOutput in users) { model.Add(new ChatModel() { LoginInformations = getCurrentLoginInformationsOutput, ConversationId = getCurrentLoginInformationsOutput.ConversationId }); } return(View(model)); }