public async Task RunGenerateCalculationResultQADatabasePopulationJob() { PopulateCalculationResultQADatabaseRequest populateCalculationResultQADatabaseRequest = new PopulateCalculationResultQADatabaseRequest { SpecificationId = NewRandomString() }; Job job = new Job(); await AssertPutRequest($"calculation-results/populate-qa-database", populateCalculationResultQADatabaseRequest, job, () => _client.RunGenerateCalculationResultQADatabasePopulationJob(populateCalculationResultQADatabaseRequest)); }
public async Task <ApiResponse <Job> > RunGenerateCalculationResultQADatabasePopulationJob(PopulateCalculationResultQADatabaseRequest populateCalculationResultQADatabaseRequest) { Guard.ArgumentNotNull(populateCalculationResultQADatabaseRequest, nameof(populateCalculationResultQADatabaseRequest)); return(await PutAsync <Job, PopulateCalculationResultQADatabaseRequest>($"{UrlRoot}/calculation-results/populate-qa-database", populateCalculationResultQADatabaseRequest)); }