public ExamAceSeeder(ExamAceContext ctx, IHostingEnvironment hosting, UserManager <User> userManager, IMapper mapper) { _ctx = ctx ?? throw new ArgumentNullException(nameof(ctx)); _hosting = hosting ?? throw new ArgumentNullException(nameof(hosting)); _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public ExamAceRepository(ExamAceContext ctx, ILogger <ExamAceRepository> logger) { _ctx = ctx ?? throw new ArgumentNullException(nameof(ctx)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }