Exemplo n.º 1
0
        public ActionResult AddFriend(String friendUsername)
        {
            User u      = gc.getUserFromIdentity(User);
            User friend = gc.GetUser(friendUsername);

            FriendLogic.CreateFriendRequest(u, friend, gc);

            return(RedirectToAction("Friends"));
        }