コード例 #1
0
 public CommentController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <IdentityRole> roleManager,
     ILoggerFactory loggerFactory,
     ApplicationDbContext db,
     IHostingEnvironment environment)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     DB             = db;
     _environment   = environment;
     Helper         = new CRM.Helpers.Utility(_signInManager, DB);
 }