RegisterNamespace("KupOfJoe");
KupOfJoe.ReviewsService = function(){};
KupOfJoe.ReviewsService.InsertReview = function(_shopId, _reviewMessage, _reviewRating, onCompleteHandler){
var jsonRequest = new Request.JSON({url: "/ReviewsService.asmx/InsertReview", data:'', onComplete: onCompleteHandler}).post({"_shopId":_shopId, "_reviewMessage":_reviewMessage, "_reviewRating":_reviewRating});
}
KupOfJoe.ReviewsService.GetReviewsForShop = function(_shopId, onCompleteHandler){
var jsonRequest = new Request.JSON({url: "/ReviewsService.asmx/GetReviewsForShop", data:'', onComplete: onCompleteHandler}).post({"_shopId":_shopId});
}
KupOfJoe.ReviewsService.GetRecentReviews = function(onCompleteHandler){
var jsonRequest = new Request.JSON({url: "/ReviewsService.asmx/GetRecentReviews", data:'', onComplete: onCompleteHandler}).post();
}
