Example #1
0
 public CodeCampSeeder(CodeCampContext ctx,
                       UserManager <CodeCampUser> userManager,
                       RoleManager <IdentityRole> roleManager,
                       IConfiguration config,
                       IHostingEnvironment env)
 {
     _env         = env;
     _ctx         = ctx;
     _userManager = userManager;
     _config      = config;
     _roleManager = roleManager;
 }
 public CodeCampRepository(CodeCampContext ctx, IConfiguration config, IMapper mapper)
 {
     _ctx    = ctx;
     _config = config;
     _mapper = mapper;
 }
 public CodeCampRepository(CodeCampContext ctx)
 {
     _ctx = ctx;
 }
Example #4
0
 public CodeCampRepository(CodeCampContext ctx, IMapper mapper)
 {
     _ctx    = ctx;
     _mapper = mapper;
 }