Esempio n. 1
0
        public ActionResult SendRequest(int id)
        {
            //bool IsSend = false;
            BitBookEntities BitBookContext = new BitBookEntities();
            Friend          friend         = new Friend();

            friend.UserId   = Convert.ToInt32(Session["UserId"]);
            friend.FriendId = id;
            friend.temp     = 1;

            friendRequestManager.SendRequest(friend);
            return(View());
        }