public AssignmentsController( IAlbaCredentialService albaCredentialService, IAlbaCredentials credentials, ILogger <AssignmentsController> logger, IOptions <WebUIOptions> optionsAccessor) { this.albaCredentialService = albaCredentialService; this.logger = logger; options = optionsAccessor.Value; }
public TerritoryUserController( MainDbContext database, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { }
public HomeController( MainDbContext database, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, Services.IQRCodeActivityService qrCodeActivityService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { this.qrCodeActivityService = qrCodeActivityService; }
public AuthorizedController( MainDbContext database, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) { this.database = database; this.localizer = localizer; account = credentials.Account; user = credentials.User; password = credentials.Password; this.authorizationService = authorizationService; this.albaCredentialService = albaCredentialService; options = optionsAccessor.Value; }
public ReportController( MainDbContext database, IAccountLists accountLists, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { this.accountLists = accountLists; }
public ShortUrlsController( MainDbContext database, IShortUrlService service, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, WebUI.Services.IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { this.service = service; _hostName = optionsAccessor.Value.UrlShortenerDomain; }