コード例 #1
0
 public AccountsController(UserManager <AppUser> userManager, ApplicationDbJWTContext appDbContext, IMapper mapper)
 {
     _userManager  = userManager;
     _mapper       = mapper;
     _appDbContext = appDbContext;
 }
コード例 #2
0
 public ProfileController(UserManager <AppUser> userManager, ApplicationDbJWTContext appDbContext, IHttpContextAccessor httpContextAccessor)
 {
     _caller       = httpContextAccessor.HttpContext.User;
     _appDbContext = appDbContext;
 }