Esempio n. 1
0
        public async Task AddSubjectnAsync(Subject subject)
        {
            await _context.Subjects.AddAsync(subject);

            await _context.SaveChangesAsync();
        }
Esempio n. 2
0
        public async Task AddAppUserAsync(RootUser rootUser)
        {
            await _context.RootUsers.AddAsync(rootUser);

            await _context.SaveChangesAsync();
        }
Esempio n. 3
0
        public async Task AddPrepodAsync(Prepod prepod)
        {
            await _context.Prepods.AddAsync(prepod);

            await _context.SaveChangesAsync();
        }
Esempio n. 4
0
        public async Task AddAnswerAsync(Answer answer)
        {
            await _context.Answers.AddAsync(answer);

            await _context.SaveChangesAsync();
        }
Esempio n. 5
0
        public async Task AddStudentAsync(Student student)
        {
            await _context.Students.AddAsync(student);

            await _context.SaveChangesAsync();
        }
Esempio n. 6
0
        public async Task AddQuestionAsync(Question question)
        {
            await _context.Questions.AddAsync(question);

            await _context.SaveChangesAsync();
        }
Esempio n. 7
0
        public async Task AddThemesnAsync(Theme theme)
        {
            await _context.Themes.AddAsync(theme);

            await _context.SaveChangesAsync();
        }