public void GetUserReview(int Infoval, int loggedInUserId) { ProfileInfoService objProfileInfoService = new ProfileInfoService(); var userData = objProfileInfoService.GetAllUserReviewsByUser(Infoval, loggedInUserId); Clients.All.SetUserReview(userData); }
public IHttpActionResult GetAllUserReviewsByUser(int Infoval, int loggedInUserId) { return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, objProfileInfoService.GetAllUserReviewsByUser(Infoval, loggedInUserId)))); }