예제 #1
0
        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));
        }