Beispiel #1
0
 public UserService(BoardTradeDbContext ctx, UserManager <User> usrMgr, SignInManager <User> signInMgr, IPasswordHasher <User> hasher, IMapper mapper, IConfigurationRoot config)
 {
     _ctx       = ctx;
     _usrMgr    = usrMgr;
     _signInMgr = signInMgr;
     _mapper    = mapper;
     _hasher    = hasher;
     _config    = config;
 }
Beispiel #2
0
 public AuthController(BoardTradeDbContext ctx, SignInManager <User> signInMgr, UserManager <User> usrMgr, IPasswordHasher <User> hasher, IUser usr, IMapper mapper, IConfigurationRoot config, ILogger <AuthController> logger)
 {
     _ctx       = ctx;
     _signInMgr = signInMgr;
     _usrMgr    = usrMgr;
     _hasher    = hasher;
     _usr       = usr;
     _mapper    = mapper;
     _config    = config;
     _logger    = logger;
 }
Beispiel #3
0
 public BoardGameService(BoardTradeDbContext ctx)
 {
     _ctx = ctx;
 }