public Engine( IAccountService accountService, IGovernmentService governmentService, IGroupService groupService, IReportService reportService, IPlotService plotService, IDecisionService decisionService, IAudienceService audienceService, INewsService newsService, IRevolutionService revolutionService, IScoreService scoreService, IEscapeService escapeService, IAssassinationService assassinationService, ILoanService loanService, IWarService warService) { this.accountService = accountService; this.governmentService = governmentService; this.groupService = groupService; this.reportService = reportService; this.plotService = plotService; this.decisionService = decisionService; this.audienceService = audienceService; this.newsService = newsService; this.revolutionService = revolutionService; this.scoreService = scoreService; this.escapeService = escapeService; this.assassinationService = assassinationService; this.loanService = loanService; this.warService = warService; }
public CourseController( ICourseService courseRepository, ICategoryService categoryRepository, ICertificateService certificateRepository, IAudienceService audienceRepository) { if (courseRepository == null) { throw new ArgumentNullException("courseRepository"); } if (categoryRepository == null) { throw new ArgumentNullException("categoryRepository"); } if (certificateRepository == null) { throw new ArgumentNullException("certificateRepository"); } if (audienceRepository == null) { throw new ArgumentNullException("audienceRepository"); } _courseRepository = courseRepository; _categoryRepository = categoryRepository; _audienceRepository = audienceRepository; _certificateRepository = certificateRepository; }
public AudienceController(IAudienceService audienceRepository) { if (audienceRepository == null) { throw new ArgumentNullException("audienceRepository"); } _audienceRepository = audienceRepository; }
public CreateModel(IAudienceService audienceService, IStationService stationService) { _audienceService = audienceService; _stationService = stationService; }
//https://www.c-sharpcorner.com/blogs/jwt-based-tokenisation-via-net-core //https://www.red-gate.com/simple-talk/dotnet/net-development/jwt-authentication-microservices-net/ public AuthController(ITokenManager tokenManager, IAudienceService audienceService, IUserService userService) { _tokenManager = tokenManager; _audienceService = audienceService; _userService = userService; }
public TokenManager(IConfiguration config, IAudienceService audienceService) { _config = config; _audienceService = audienceService; }
public AudienceController(IAudienceService audienceService) { _audienceService = audienceService; }
public IndexModel(IAudienceService audienceService, IStationService stationService) { _audienceService = audienceService; _stationService = stationService; }
public AuthService(IAudienceService audienceService) { this.audienceService = audienceService; }
public DetailsModel(IAudienceService audienceService, IStationService stationService) { _audienceService = audienceService; _stationService = stationService; }
public AudienceController(IAudienceService audienceService, IFeatureService featureService) { _audienceService = audienceService ?? throw new ArgumentNullException(nameof(audienceService)); _featureService = featureService ?? throw new ArgumentNullException(nameof(featureService)); }