示例#1
0
 public CourseService(PrimarydbContext context)
 {
     _context          = context;
     _courseRepository = new CourseRepository(_context);
 }
示例#2
0
 public UserService(PrimarydbContext context)
 {
     _context = context;
 }
示例#3
0
 public AccountController(PrimarydbContext context, IUserService userService, IAuthService authService)
 {
     _userService = userService;
     _authService = authService;
 }
示例#4
0
 public CourseRepository(PrimarydbContext context)
 {
     _context = context;
 }