/// <summary> /// Creates a new backend data service object /// </summary> public BackendDataService() { this.backendWebApi = RestService.For <IBackendWebApi>( BaseUrl, new RefitSettings { ContentSerializer = new NewtonsoftJsonContentSerializer() }); }
/// <summary> /// Creates a new index model /// </summary> public IndexModel() { this.backendWebApi = RestService.For <IBackendWebApi>(BaseUrl); this.LiveTrackingInfoList = new List <LiveTrackingInfo> { new LiveTrackingInfo { Name = "TestPos Schliersee", Uri = "where-to-fly://TestPos/data" } }; }
/// <summary> /// Creates a new backend data service object /// </summary> public BackendDataService() { this.backendWebApi = RestService.For <IBackendWebApi>(BaseUrl); }