1app.service('UserReviewservice', function ($http, apiUrl) { 2 3 //Get User is login or not 4 this.isUserLogin = function () { 5 return $http.get("/UserProfile/User/isUserLogin"); 6 7 } 8 9 //Get user review according to user login and logout 10 this.GetUserReviewList = function (tasteid, userid, showrecords, IsProfile) { 11 //return $http.get("/User/GetUserReviewList?TasteId=" + tasteid + "&UserId=" + userid + "&ShowRecords=" + showrecords + "&IsProfile=" + IsProfile); 12 return $http.get(apiUrl + "/TasteDetail/GetUserReviewList?TasteId=" + tasteid + "&UserId=" + userid + "&ShowRecords=" + showrecords + "&IsProfile=" + IsProfile); 13 } 14 //Get remaining count of user review according to user login and logout 15 this.GetRemainingCount = function (tasteid, userid, showrecords, IsProfile) { 16 //return $http.get("/User/GetUserReviewList?TasteId=" + tasteid + "&UserId=" + userid + ""); 17 return $http.get(apiUrl + "/TasteDetail/GetUserReviewRemainingCount?TasteId=" + tasteid + "&UserId=" + userid + "&ShowRecords=" + showrecords + "&IsProfile=" + IsProfile); 18 } 19 20// //Insert user review like and get count 21// this.InsertReviewLikeAndGetCount = function (reviewid, userid) { 22// //return $http.get("/User/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 23// return $http.get(apiUrl + "/TasteDetail/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 24 // } 25 26 //Insert user review like and get count 27 this.InsertReviewLikeAndGetCount = function (reviewid, userid) { 28 //return $http.get("/User/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 29 return $http.get("/UserProfile/User/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 30 } 31 32 //Insert user comment like and get count 33 this.InsertCommentLikeAndGetCount = function (commentid, userid) { 34 //return $http.get("/TOCTaste/InsertCommentLikes?EncryptedCommentId=" + commentid + "&UserId=" + userid + ""); 35 return $http.get(apiUrl + "/TasteDetail/InsertCommentLikes?EncryptedCommentId=" + commentid + "&UserId=" + userid + ""); 36 } 37 38 //Insert user review comment 39 this.InsertReviewComment = function (reviewcomment) { 40 var request = $http({ 41 method: "post", 42 url: apiUrl + "/TasteDetail/InsertReviewComments", 43 //url: "/User/InsertReviewComments", 44 data: reviewcomment 45 }); 46 return request; 47 //return $http.get("/TOCTaste/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 48 //return $http.get(apiUrl + "/TasteDetail/InsertReviewComments"); 49 } 50 51 //Get Review Comments Count 52 this.GetReviewCommentCount = function (reviewid) { 53 //return $http.get("/TOCTaste/InsertReviewLikes?EncryptedReviewId=" + reviewid + "&UserId=" + userid + ""); 54 return $http.get(apiUrl + "/TasteDetail/GetReviewCommentsCount?EncryptedReviewId=" + reviewid + ""); 55 } 56 57});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.