Nextrek
Diff Revisions
690
vs
691
for /Android/SmartCharging/SmartCharging_WP/SmartCharging/NewReviewPage.xaml.cs
|
@@ -127,7 +127,7 @@ |
127 |
127 |
|
Site s = LayoutRoot.DataContext as Site; |
128 |
128 |
|
Review newReview = new Review() { Description = this.ReviewDescriptionTextBox.Text, Rating = this.RatingControl.Value, Date = DateTime.Now }; |
129 |
129 |
|
this.showLoading(); |
130 |
|
- |
bool result = await this.SMA.AddSiteComment(s, newReview); |
|
130 |
+ |
bool result = await this.SMA.AddSiteReview(s, newReview); |
131 |
131 |
|
this.hideLoading(); |
132 |
132 |
|
if (result) |
133 |
133 |
|
{ |