Esempio n. 1
0
 public IdentityController(BlogcodefirstContext context, IConfiguration configuration, ITokenService tokenService, IUserService userService)
 {
     dbContext     = context;
     conf          = configuration;
     _tokenService = tokenService;
     _userService  = userService;
 }
Esempio n. 2
0
 public AuthController(IConfiguration configuration, ITokenService tokenService, BlogcodefirstContext context)
 {
     conf          = configuration;
     _tokenService = tokenService;
     dbContext     = context;
 }
Esempio n. 3
0
 public AuthAttribute(BlogcodefirstContext _context, ITokenService tokenService, IUserService userService)
 {
     dbContext     = _context;
     _tokenService = tokenService;
     _userService  = userService;
 }
Esempio n. 4
0
 public UserService(BlogcodefirstContext context)
 {
     _context = context;
 }