public NewConvertController(ILogger <NewConvertController> logger, UserViewSource userSource, BanViewSource banSource,
                             ModuleViewSource moduleViewSource, FileViewSource fileViewSource, ContentViewSource contentViewSource,
                             CategoryViewSource categoryViewSource, VoteViewSource voteViewSource, WatchViewSource watchViewSource,
                             CommentViewSource commentViewSource, ActivityViewSource activityViewSource,
                             ContentApiDbConnection cdbconnection, IEntityProvider entityProvider,
                             ModuleMessageViewSource moduleMessageViewSource,
                             ModuleRoomMessageViewSource moduleRoomMessageViewSource,
                             NewConvertControllerConfig config,
                             IHistoryService historyService,
                             IHistoryConverter historyConverter,
                             /*ContentApiDbContext ctapiContext,*/ IMapper mapper)
 {
     this.logger         = logger;
     this.userSource     = userSource;
     this.banSource      = banSource;
     this.moduleSource   = moduleViewSource;
     this.fileSource     = fileViewSource;
     this.contentSource  = contentViewSource;
     this.categorySource = categoryViewSource;
     this.voteSource     = voteViewSource;
     this.watchSource    = watchViewSource;
     this.commentSource  = commentViewSource;
     this.activitySource = activityViewSource;
     //this.ctapiContext = ctapiContext;
     this.mapper               = mapper;
     this.newdb                = cdbconnection.Connection;
     this.entityProvider       = entityProvider;
     this.moduleMessageSource  = moduleMessageViewSource;
     this.moduleRMessageSource = moduleRoomMessageViewSource;
     this.config               = config;
     this.historyService       = historyService;
     this.historyConverter     = historyConverter;
 }
Example #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;
 }