public IdentityController(BlogcodefirstContext context, IConfiguration configuration, ITokenService tokenService, IUserService userService) { dbContext = context; conf = configuration; _tokenService = tokenService; _userService = userService; }
public AuthController(IConfiguration configuration, ITokenService tokenService, BlogcodefirstContext context) { conf = configuration; _tokenService = tokenService; dbContext = context; }
public AuthAttribute(BlogcodefirstContext _context, ITokenService tokenService, IUserService userService) { dbContext = _context; _tokenService = tokenService; _userService = userService; }
public UserService(BlogcodefirstContext context) { _context = context; }