public CourseService(PrimarydbContext context) { _context = context; _courseRepository = new CourseRepository(_context); }
public UserService(PrimarydbContext context) { _context = context; }
public AccountController(PrimarydbContext context, IUserService userService, IAuthService authService) { _userService = userService; _authService = authService; }
public CourseRepository(PrimarydbContext context) { _context = context; }