public UsersController( MatchBoxDbContext dbContext, IMapper mapper, SecurityConfiguration config, UserManager <DbUser> userManager, IEmailSender emailSender) : base(config, dbContext, mapper) { UserManager = userManager; EmailSender = emailSender; }
public AuthenticationController( MatchBoxDbContext dbContext, IMapper mapper, IJwtProducer jwtProducer, SecurityConfiguration securityConfig, UserConfiguration userConfig, UserManager <DbUser> userManager, SignInManager <DbUser> signInManager, IEmailSender emailSender) : base(securityConfig, dbContext, mapper) { JwtProducer = jwtProducer ?? throw new ArgumentNullException(); UserConfig = userConfig; UserManager = userManager; SignInManager = signInManager; EmailSender = emailSender; }
public EventsController(MatchBoxDbContext dbContext, IMapper mapper) : base(dbContext, mapper) { }
public GroupsController(SecurityConfiguration config, MatchBoxDbContext dbContext, IMapper mapper) : base(config, dbContext, mapper) { }
protected RESTControllerBase(SecurityConfiguration securityConfig, MatchBoxDbContext dbContext, IMapper mapper) : base(securityConfig) { DbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); Mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }