public void GetUserReviewRatings(int userId) { ProfileInfoService objProfileInfoService = new ProfileInfoService(); var userData = objProfileInfoService.GetCurrentUserRatingById(userId); Clients.All.SetUserReviewRatings(userData); }
public IHttpActionResult GetCurrentUserRatingById(int Infoval) { return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, objProfileInfoService.GetCurrentUserRatingById(Infoval)))); }