Exemple #1
0
        public ActionResult CancelRequest(int id)
        {
            BitBookEntities BitBookContext = new BitBookEntities();
            Friend          friend         = new Friend();

            friend.UserId   = Convert.ToInt32(Session["UserId"]);
            friend.FriendId = id;
            friend.temp     = 0;
            friendRequestManager.CancelRequest(friend);
            return(View());
        }