コード例 #1
0
 public EmailConfirmationModel(UserManager <ApplicationUser> userManager,
                               SignInManager <ApplicationUser> signInManager,
                               ILawyerVerificationService verificationService,
                               ApplicationDbContext context,
                               RoleManager <IdentityRole> roleManager)
 {
     _userManager         = userManager;
     _signInManger        = signInManager;
     _verificationService = verificationService;
     _context             = context;
     _roleManager         = roleManager;
 }
コード例 #2
0
 public LawyerController(
     RoleManager <IdentityRole> roleManager,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ApplicationDbContext context,
     IEmailSender emailSender,
     ILogger <LawyerController> logger,
     ILawyerVerificationService verify)
 {
     _roleManager   = roleManager;
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
     _emailSender   = emailSender;
     _logger        = logger;
     _verify        = verify;
 }
コード例 #3
0
 public LawyerVerificationServiceTest()
 {
     _service = new LawyerVerificationService();
 }