Beispiel #1
0
 public static void AddSessionUser(UserView user)
 {
     Users.Add(user);
     LastUpdate  = DateTime.Now;
     CurrentUser = user;
 }
Beispiel #2
0
        public static UserView FindId(string userName)
        {
            UserView user = OnlineUsers.ToList().Where(u => u.FullName == userName).FirstOrDefault().ToUserView();

            return(user);
        }