Esempio n. 1
0
 public async Task <JsonResult> Update(Guid id, string url)
 {
     using (var svc = new Services.DataProvider("bookmaker", new Dictionary <string, object> {
         { "id", id },
         { "url", url }
     }))
     {
         return(Json(await svc.Put <bool>()));
     }
 }
Esempio n. 2
0
 public async Task<JsonResult> Update(Guid id, string url)
 {
     using (var svc = new Services.DataProvider("bookmaker", new Dictionary<string, object> {
         { "id", id },
         { "url", url}
     }))
     {
         return Json(await svc.Put<bool>());
     }
 }