Exemplo n.º 1
0
        //public AccountController(DataContext context, ITockenService tockenService, IMapper mapper)
        public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, ITockenService tockenService, IMapper mapper)
        {
            //_context = context;
            _tockenService = tockenService;
            _mapper        = mapper;

            _signInManager = signInManager;
            _userManager   = userManager;
        }
Exemplo n.º 2
0
 public AccountController(DataContext context, ITockenService tokenService)
 {
     _context      = context;
     _tokenService = tokenService;
 }