public async Task <Student> CreateStudentAsynd(Student student) { await _smContext.AddAsync(student); await _smContext.SaveChangesAsync(); return(student); }
public async Task <Semester> CreateSemesterAsynd(Semester semester) { await _smContext.AddAsync(semester); await _smContext.SaveChangesAsync(); return(semester); }
public async Task <Discipline> CreateDisciplineAsynd(Discipline discipline) { await _smContext.AddAsync(discipline); await _smContext.SaveChangesAsync(); return(discipline); }