public AccountsController(UserManager <AppUser> userManager, ApplicationDbJWTContext appDbContext, IMapper mapper) { _userManager = userManager; _mapper = mapper; _appDbContext = appDbContext; }
public ProfileController(UserManager <AppUser> userManager, ApplicationDbJWTContext appDbContext, IHttpContextAccessor httpContextAccessor) { _caller = httpContextAccessor.HttpContext.User; _appDbContext = appDbContext; }