public ActionResult FriendList(string login) { Users currentUser = usersDAO.GetByLogin(login); Session["session"] = currentUser; IEnumerable <Groups> groups = groupsDAO.GetUserGroups(currentUser.ID); ViewBag.Groups = new SelectList(groups, "ID", "Titile"); return(View(usersDAO.GetFriends(currentUser))); }