Esempio n. 1
0
 public UserService(NetCoreAuthReactDbContext ctx, UserManager <User> usrMgr, SignInManager <User> signInMgr, IMapper mapper)
 {
     _ctx       = ctx;
     _usrMgr    = usrMgr;
     _signInMgr = signInMgr;
     _mapper    = mapper;
 }
 public AuthController(NetCoreAuthReactDbContext ctx, SignInManager <User> signInMgr, IUser usr)
 {
     _ctx       = ctx;
     _signInMgr = signInMgr;
     _usr       = usr;
 }