コード例 #1
0
 public TokenController(
     HalcyonDbContext context,
     IHashService hashService,
     IJwtService jwtService)
 {
     _context     = context;
     _hashService = hashService;
     _jwtService  = jwtService;
 }
コード例 #2
0
 public AccountController(
     HalcyonDbContext context,
     IHashService hashService,
     IEmailService emailService)
 {
     _context      = context;
     _hashService  = hashService;
     _emailService = emailService;
 }
コード例 #3
0
 public SeedController(
     HalcyonDbContext context,
     IHashService hashService,
     IOptions <SeedSettings> seedSettings)
 {
     _context      = context;
     _hashService  = hashService;
     _seedSettings = seedSettings.Value;
 }
コード例 #4
0
 public UserController(HalcyonDbContext context, IHashService hashService)
 {
     _context     = context;
     _hashService = hashService;
 }
コード例 #5
0
 public UserRepository(HalcyonDbContext context)
 {
     _context = context;
 }