Beispiel #1
0
        public async Task AddAsync(RegistrationRequest request)
        {
            await _dbContext.Requests.AddAsync(request);

            await _dbContext.SaveChangesAsync();
        }
Beispiel #2
0
        public async Task AddTeacher(TeacherEntity entity)
        {
            await _dbContext.Teachers.AddAsync(entity);

            await _dbContext.SaveChangesAsync();
        }
Beispiel #3
0
 public async Task SaveChanges()
 {
     await _context.SaveChangesAsync();
 }