public async Task <Build> AddAsync(Build build) { await _testsStoreContext.Builds.AddAsync(build); await _testsStoreContext.SaveChangesAsync(); return(build); }
public async Task <TestResult> Add(TestResult testResult) { await _testsStoreContext.TestResults.AddAsync(testResult); await _testsStoreContext.SaveChangesAsync(); return(testResult); }
public async Task <Project> Add(Project project) { await _testsStoreContext.Projects.AddAsync(project); await _testsStoreContext.SaveChangesAsync(); return(project); }