public async Task Add(Student student) { newContext.Student.Add(student); await newContext.SaveChangesAsync(); }
public async Task Add(Course course) { newContext.Add(course); await newContext.SaveChangesAsync(); }
public async Task Add(Gender gender) { newContext.Gender.Add(gender); await newContext.SaveChangesAsync(); }
public async Task Add(Enrollment enrollment) { newContext.Enrollment.Add(enrollment); await newContext.SaveChangesAsync(); }