Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public CodeCampRepository(CodeCampContext ctx, IConfiguration config, IMapper mapper)
 {
     _ctx    = ctx;
     _config = config;
     _mapper = mapper;
 }
Exemplo n.º 3
0
 public CodeCampRepository(CodeCampContext ctx)
 {
     _ctx = ctx;
 }
Exemplo n.º 4
0
 public CodeCampRepository(CodeCampContext ctx, IMapper mapper)
 {
     _ctx    = ctx;
     _mapper = mapper;
 }