Exemplo n.º 1
0
        public void GetUserGraphDetails(int userId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            var userData = objProfileInfoService.FindSharePriceValuesByUserId(userId);

            Clients.All.SetUserGraphDetails(userData);
        }
Exemplo n.º 2
0
        public void GetUserUnReadMessagesCount(int userId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            int userCount = objProfileInfoService.GetUnReadMessagesCountByUserId(userId);

            Clients.All.SetUserUnReadMessagesCount(userId, userCount);
        }
Exemplo n.º 3
0
        public void GetUserInvestmentDetails(int userId, int profileId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            var userData = objProfileInfoService.GetUserProfileDetailsByUserIdNUserProfileId(userId, profileId);

            Clients.All.SetUserInvestmentDetails(userData);
        }
Exemplo n.º 4
0
        public void GetUserReviewRatings(int userId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            var userData = objProfileInfoService.GetCurrentUserRatingById(userId);

            Clients.All.SetUserReviewRatings(userData);
        }
Exemplo n.º 5
0
        public void GetUserReview(int Infoval, int loggedInUserId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            var userData = objProfileInfoService.GetAllUserReviewsByUser(Infoval, loggedInUserId);

            Clients.All.SetUserReview(userData);
        }
Exemplo n.º 6
0
        public void GetUserPosts(int UserId)
        {
            ProfileInfoService objProfileInfoService = new ProfileInfoService();
            var userData = objProfileInfoService.GetUserPostsAsGroups(UserId);

            Clients.All.SetUserPosts(userData);
        }
Exemplo n.º 7
0
        public void GetUserMessages(bool isEditMode, int displayUserId, int userId)
        {
            ProfileInfoService   objProfileInfoService = new ProfileInfoService();
            List <ProfileInfoBO> userMessages          = new List <ProfileInfoBO>();

            if (isEditMode)
            {
                userMessages = objProfileInfoService.GetAllUserMessages(userId);
            }
            else
            {
                userMessages = objProfileInfoService.GetUserMessagesGroupBetween2Users(userId, displayUserId);
            }

            Clients.All.SetUserMessages(userId, userMessages);
        }
Exemplo n.º 8
0
 public ProfileInfoController()
 {
     objProfileInfoService = new ProfileInfoService();
 }