Ejemplo n.º 1
0
 public AdminForumService(ForumDbContext context, ForumTreeService forumService, IConfiguration config, CommonUtils utils,
                          LanguageProvider languageProvider, IHttpContextAccessor httpContextAccessor, OperationLogService operationLogService)
     : base(utils, languageProvider, httpContextAccessor)
 {
     _context             = context;
     _forumService        = forumService;
     _config              = config;
     _operationLogService = operationLogService;
 }
Ejemplo n.º 2
0
 public ModeratorService(ForumDbContext context, PostService postService, StorageService storageService, CommonUtils utils, LanguageProvider languageProvider,
                         IHttpContextAccessor httpContextAccessor, OperationLogService operationLogService)
     : base(utils, languageProvider, httpContextAccessor)
 {
     _context             = context;
     _postService         = postService;
     _storageService      = storageService;
     _operationLogService = operationLogService;
 }
Ejemplo n.º 3
0
 public AdminUserService(ForumDbContext context, PostService postService, IAppCache cache, IConfiguration config, CommonUtils utils,
                         LanguageProvider languageProvider, IHttpContextAccessor httpContextAccessor, OperationLogService operationLogService)
     : base(utils, languageProvider, httpContextAccessor)
 {
     _context             = context;
     _postService         = postService;
     _cache               = cache;
     _config              = config;
     _operationLogService = operationLogService;
 }