Beispiel #1
0
 private async Task <string> GetImageBasePath()
 {
     if (_serverConfiguration == null)
     {
         string url = "3/configuration?api_key=" + MovieHelper.ThemoviedbApiKey;
         _serverConfiguration = await _restApiService.Get <ThemoviedbConfiguration>(url);
     }
     return(_serverConfiguration.Images.SecureBaseUrl);
 }
 private async Task<string> GetImageBasePath()
 {
     if (_serverConfiguration == null)
     {
         string url = "3/configuration?api_key=" + MovieHelper.ThemoviedbApiKey;
         _serverConfiguration = await _restApiService.Get<ThemoviedbConfiguration>(url);
     }
     return _serverConfiguration.Images.SecureBaseUrl;
 }