public void Initialize_App() { var applicationResource = new ApplicationResource(_apiContext); var application = applicationResource.ThirdPartyGetApplicationAsync().Result; application.Initialized = true; applicationResource.ThirdPartyUpdateApplicationAsync(application).Wait(); }
private async Task <string> GetAppId(IApiContext apiContext) { var applicationResource = new ApplicationResource(apiContext); var app = await applicationResource.ThirdPartyGetApplicationAsync(); return(app.AppId); }