Exemplo n.º 1
0
 public ControllerBase(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.Localization = localization;
     this.Resolver     = resolver;
 }
Exemplo n.º 2
0
 public AuthController(IAntiforgery antiForgeryService, ILocalAuthenticationService authService, CultureService cultureService, IOptions <Toucan.Server.Config> serverConfig, ISignupService signupService, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.antiForgeryService = antiForgeryService;
     this.authService        = authService;
     this.cultureService     = cultureService;
     this.serverConfig       = serverConfig.Value;
     this.signupService      = signupService;
     this.tokenService       = tokenService;
 }
Exemplo n.º 3
0
 public ManageRoleController(IManageRoleService manageRoleService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.manageRoleService = manageRoleService;
 }
Exemplo n.º 4
0
 public ExternalAuthControllerController(IExternalAuthenticationService externalAuthService, IMemoryCache cache, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.cache = cache;
     this.externalAuthService = externalAuthService;
     this.tokenService        = tokenService;
 }
Exemplo n.º 5
0
 public AuditService(ILogger <AuditService> logger, IDomainContextResolver resolver)
 {
     this.logger   = logger;
     this.resolver = resolver;
 }
Exemplo n.º 6
0
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.localization = localization;
     this.resolver     = resolver;
 }
Exemplo n.º 7
0
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
 }
Exemplo n.º 8
0
 public ProfileController(CultureService cultureService, IManageProfileService profileService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.cultureService = cultureService;
     this.profileService = profileService;
 }