public async Task AddApproveAsync(Guid userId, Guid reviewId) { var reviewUserApproved = new ReviewUserApproved(userId, reviewId); _context.ReviewUserApproved.Add(reviewUserApproved); await _context.SaveChangesAsync(); }
public async Task AddAsync(University university) { await _context.Universities.AddAsync(university); await _context.SaveChangesAsync(); }
public async Task AddAsync(User user) { await _context.Users.AddAsync(user); await _context.SaveChangesAsync(); }
public async Task AddAsync(Course course) { await _context.Courses.AddAsync(course); await _context.SaveChangesAsync(); }
public async Task AddAsync(Review review) { await _context.Reviews.AddAsync(review); await _context.SaveChangesAsync(); }