public RoleRepository(
     IlluminateLmsContext ctx,
     RoleManager <ApplicationRole> roleManager,
     ILogger <RoleRepository> logger,
     UserManager <ApplicationUser> userManager
     )
 {
     _ctx         = ctx;
     _roleManager = roleManager;
     _logger      = logger;
     _userManager = userManager;
 }
 public IlluminateLmsDatabaseInitalizer(
     ILogger <IlluminateLmsDatabaseInitalizer> logger,
     IAccountRepository accountRepository,
     IlluminateLmsContext ctx,
     IRoleRepository roleRepository,
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager,
     IPermissionRepository permissionRepository,
     ICourseRepository courseRepository,
     IEnrollmentRepository enrollmentRepository,
     IBookmarkedCourseRepository bookmarkedCourseRepository
     )
 {
     _logger            = logger;
     _accountRepository = accountRepository;
     _ctx                        = ctx;
     _roleRepository             = roleRepository;
     _userRepository             = userRepository;
     _userManager                = userManager;
     _permissionRepository       = permissionRepository;
     _courseRepository           = courseRepository;
     _enrollmentRepository       = enrollmentRepository;
     _bookmarkedCourseRepository = bookmarkedCourseRepository;
 }
 public CourseRepository(IlluminateLmsContext ctx)
 {
     _ctx = ctx;
 }
 public BookmarkedCourseRepository(IlluminateLmsContext ctx)
 {
     _ctx = ctx;
 }
Esempio n. 5
0
 public ContentItemRepository(IlluminateLmsContext ctx)
 {
     _ctx = ctx;
 }
 public EnrollmentRepository(IlluminateLmsContext ctx)
 {
     _ctx = ctx;
 }
Esempio n. 7
0
 public AccountRepository(IlluminateLmsContext ctx)
 {
     _ctx = ctx;
 }