public Task <HttpStatusCode> SaveDefinition(DatasetDefinition definition) { return(_cosmosRepository.UpsertAsync(definition)); }
public Task <HttpStatusCode> SaveTestScenario(TestScenario testScenario) { return(_cosmosRepository.UpsertAsync(testScenario)); }
public Task <HttpStatusCode> SaveUser(User user) { Guard.ArgumentNotNull(user, nameof(user)); return(_cosmosRepository.UpsertAsync(user, user.UserId)); }
public Task <HttpStatusCode> UpdateBuildProject(BuildProject buildProject) { return(_cosmosRepository.UpsertAsync(buildProject)); }
public async Task <HttpStatusCode> SaveJobDefinition(JobDefinition definition) { return(await _cosmosRepository.UpsertAsync(definition)); }