Exemplo n.º 1
0
 public FunCommentsController(
     HtmlSanitizer htmlSanitizer,
     SignInManager <IdentityUser> signInManager,
     X_DOVEHelper x_DOVEHelper,
     RoleManager <IdentityRole> roleManager,
     IEmailSender emailSender,
     UserManager <IdentityUser> userManager,
     ApplicationDbContext context,
     IWebHostEnvironment webHostEnv,
     IStringLocalizer <Program> localizer)
 {
     _htmlSanitizer = htmlSanitizer;
     _webHostEnv    = webHostEnv;
     _localizer     = localizer;
     _context       = context;
     _userManager   = userManager;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
     _x_DOVEHelper  = x_DOVEHelper;
     _signInManager = signInManager;
     _weEduHubArticleClassHelper = new WeEduHubArticleClassHelper(_webHostEnv);
     _weEduHubHelper             = new WeEduHubHelper();
     _funFilesHelper             = new FunFilesHelper();
     _funAdminHelper             = new FunAdminHelper(_localizer, _context);
 }