public void AddReview(string nothing)
 {
     try
     {
         review = Gateway.AddReview(name, content, rating, Recording.id);
     }
     catch (SoapException)
     {
         review = null;
     }
 }
 public void AddReview(string nothing)
 {
     try
     {
         review = Gateway.AddReview(name, content, rating, Recording.id);
     }
     catch (SoapException soapException)
     {
         review           = null;
         existingReviewId = Int64.Parse(
             XPathQuery(soapException.Detail, "//existing-id"));
     }
 }
示例#3
0
 public void AddReview(string nothing)
 {
     review = Gateway.AddReview(name, content, rating, Recording.id);
 }