Beispiel #1
0
 public IdentityService(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, JwtSettings jwtSettings, TokenValidationParameters tokenValidationParameters, IVocabularyBuilderDbContext context)
 {
     _userManager = userManager;
     _roleManager = roleManager;
     _jwtSettings = jwtSettings;
     _tokenValidationParameters = tokenValidationParameters;
     _context = context;
 }
 public AddFlashCardCommandHandler(IVocabularyBuilderDbContext context, ILogger <AddFlashCardCommandHandler> logger, ICurrentUserService currentUserService)
 {
     _context            = context;
     _logger             = logger;
     _currentUserService = currentUserService;
 }
Beispiel #3
0
 public GetCategoriesQueryHandler(IVocabularyBuilderDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Beispiel #4
0
 public AddCategoryCommandHandler(IVocabularyBuilderDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public UpdateCategoryCommandHandler(IVocabularyBuilderDbContext context)
 {
     _context = context;
 }
Beispiel #6
0
 public DeleteFlashCardCommandHandler(IVocabularyBuilderDbContext context, ICurrentUserService currentUserService)
 {
     _context            = context;
     _currentUserService = currentUserService;
 }
Beispiel #7
0
 public GetFlashCardsQueryHandler(IVocabularyBuilderDbContext context, IMapper mapper, ICurrentUserService currentUserService)
 {
     _context            = context;
     _mapper             = mapper;
     _currentUserService = currentUserService;
 }