Exemple #1
0
 public IdentityController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ILogger <IdentityController> logger)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _logger        = logger;
     _piSiteService = new PISiteService();
 }
Exemple #2
0
 public PISiteController(UserManager <ApplicationUser> manager)
 {
     _piSiteService = new PISiteService();
     _manager       = manager;
 }