public async Task RemoveCourseRepoSettings(string courseId) { var courseGit = new CourseGit { CourseId = courseId }; await SetCourseRepoSettings(courseGit).ConfigureAwait(false); }
public async Task SetCourseRepoSettings(CourseGit courseGit) { courseGit.CreateTime = DateTime.Now; db.CourseGitRepos.Add(courseGit); await db.SaveChangesAsync(); }