public ReadController(BaseSimpleControllerServices services, ILanguageService docService, ChainService service,
                       RelationListenerService relationListenerService, IMapper mapper, ChainServiceConfig serviceConfig,
                       ITempTokenService <long> tokenService, Action <Newtonsoft.Json.JsonSerializerSettings> jsonOptionAction)
     : base(services)
 {
     this.docService = docService;
     this.service    = service;
     this.relationListenerService = relationListenerService;
     this.mapper           = mapper;
     this.serviceConfig    = serviceConfig;
     this.tokenService     = tokenService;
     this.jsonOptionAction = jsonOptionAction;
 }
Esempio n. 2
0
 public UserController(BaseSimpleControllerServices services, IHashService hashService,
                       ITokenService tokenService, ILanguageService languageService, IEmailService emailService,
                       UserControllerConfig config, UserViewService service, IMapper mapper, IDecayer <PasswordReset> passwordResets,
                       ITempTokenService <long> tempTokenService,
                       UserViewSource source)
     : base(services)
 {
     this.hashService      = hashService;
     this.tokenService     = tokenService;
     this.languageService  = languageService;
     this.emailService     = emailService;
     this.config           = config;
     this.service          = service;
     this.mapper           = mapper;
     this.passwordResets   = passwordResets;
     this.tempTokenService = tempTokenService;
     this.source           = source;
 }
Esempio n. 3
0
 public StreamController(BaseSimpleControllerServices services, ITempTokenService <long> tokenService) : base(services)
 {
     this.tokenService = tokenService;
 }