Ejemplo n.º 1
0
 public IActionResult ChatUsers()
 {
     ViewBag.Groups = _groupHandler.GetAll().Where(g => g.ModeratorId != null);
     ViewBag.user   = _userManager.GetUserName(User);
     ViewBag.users  = _userManager.Users.ToList().OrderByDescending(i => i.IsConnected);
     return(View());
 }