From 4ae1eb34a44c3846f05dc531b21051222af58e8d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 19 Jul 2016 15:54:53 +0200 Subject: [PATCH] using the new custom Json request --- Yavsc/GoogleApis/MapTracks.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Yavsc/GoogleApis/MapTracks.cs b/Yavsc/GoogleApis/MapTracks.cs index 94132bf2..9ce21ad6 100644 --- a/Yavsc/GoogleApis/MapTracks.cs +++ b/Yavsc/GoogleApis/MapTracks.cs @@ -55,10 +55,11 @@ namespace Yavsc.GoogleApis /// Entities. public static string [] CreateEntity( Entity[] entities ) { string [] ans = null; - using (SimpleJsonPostMethod< Entity[] ,string []> wr = - new SimpleJsonPostMethod< Entity[] ,string[]> (googleMapTracksPath + "entities/create")) + + using (SimpleJsonPostMethod wr = + new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) { - ans = wr.Invoke (entities); + ans = wr.Invoke (entities); } return ans; } @@ -71,10 +72,10 @@ namespace Yavsc.GoogleApis static Entity[] ListEntities (EntityQuery eq) { Entity [] ans = null; - using (SimpleJsonPostMethod wr = - new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) + using (SimpleJsonPostMethod wr = + new SimpleJsonPostMethod (googleMapTracksPath + "entities/create")) { - ans = wr.Invoke (eq); + ans = wr.Invoke (eq); } return ans; }