示例#1
0
        public ActionResult CheckForFrendRequests()
        {
            bool newRequest = false;

            newRequest = friendRepository.CheckForNewFriendRequest(currentUser.UserId);

            if (!newRequest)
            {
                return(null);
            }

            return(Content("New Request"));
        }