Nextrek
Diff Revisions
690
vs
691
for /Android/SmartCharging/SmartCharging_WP/SmartCharging/Net/SmartChargeAPI.cs
|
@@ -540,7 +540,7 @@ |
540 |
540 |
|
site.ReviewList = new ObservableCollection<Review>(reviews); |
541 |
541 |
|
} |
542 |
542 |
|
|
543 |
|
- |
public async Task<bool> AddSiteComment(Site site, Review review) |
|
543 |
+ |
public async Task<bool> AddSiteReview(Site site, Review review) |
544 |
544 |
|
{ |
545 |
545 |
|
string url = await this.GetBaseUrl(); |
546 |
546 |
|
Dictionary<string, string> par; |
|
@@ -598,7 +598,7 @@ |
598 |
598 |
|
imgs (String array): array con i path delle immagini contenute nel commento; |
599 |
599 |
|
token (String): token dell’utente;*/ |
600 |
600 |
|
|
601 |
|
- |
var obj = new { user_id = this.user.Id, |
|
601 |
+ |
/*var obj = new { user_id = this.user.Id, |
602 |
602 |
|
token = this.token, |
603 |
603 |
|
nomelocale = site.Name, |
604 |
604 |
|
descrizione = site.Description, |
|
@@ -635,7 +635,7 @@ |
635 |
635 |
|
else |
636 |
636 |
|
{ |
637 |
637 |
|
await errorHandler.showErrorMessage(); |
638 |
|
- |
} |
|
638 |
+ |
}*/ |
639 |
639 |
|
|
640 |
640 |
|
return result; |
641 |
641 |
|
} |
|
@@ -693,7 +693,7 @@ |
693 |
693 |
|
#endregion |
694 |
694 |
|
|
695 |
695 |
|
/*returns a new image name*/ |
696 |
|
- |
public async Task<string> UploadImage(Byte[] bytes, string imageName, string extension) |
|
696 |
+ |
private async Task<string> UploadImage(Byte[] bytes, string imageName, string extension) |
697 |
697 |
|
{ |
698 |
698 |
|
string url = await this.GetBaseUrl(); |
699 |
699 |
|
|