Ejemplo n.º 1
0
        public async Task <IActionResult> Global()
        {
            ViewBag.CurrentUserName = HttpContext.User.Identity.Name;

            return(View(new GlobalChatViewModel(await messenger.GetMessages(new MessageFiltersParams())).WithAlert()));
        }