public async Task AddSubjectnAsync(Subject subject) { await _context.Subjects.AddAsync(subject); await _context.SaveChangesAsync(); }
public async Task AddAppUserAsync(RootUser rootUser) { await _context.RootUsers.AddAsync(rootUser); await _context.SaveChangesAsync(); }
public async Task AddPrepodAsync(Prepod prepod) { await _context.Prepods.AddAsync(prepod); await _context.SaveChangesAsync(); }
public async Task AddAnswerAsync(Answer answer) { await _context.Answers.AddAsync(answer); await _context.SaveChangesAsync(); }
public async Task AddStudentAsync(Student student) { await _context.Students.AddAsync(student); await _context.SaveChangesAsync(); }
public async Task AddQuestionAsync(Question question) { await _context.Questions.AddAsync(question); await _context.SaveChangesAsync(); }
public async Task AddThemesnAsync(Theme theme) { await _context.Themes.AddAsync(theme); await _context.SaveChangesAsync(); }