예제 #1
0
 public AuthenticationController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration, IInviteCodeService inviteCodeService, IAddUserService addUserService, INotificationMail notificationService)
 {
     _configuration       = configuration;
     _roleManager         = roleManager;
     _userManager         = userManager;
     _inviteCodeService   = inviteCodeService;
     _addUserService      = addUserService;
     _notificationService = notificationService;
 }
 public MailNotificationService(IOptions <MailSettings> mailSettings, INotificationMail notificationMail, INotificationRepository notificationRepository)
 {
     _mailSettings           = mailSettings.Value;
     _notificationMail       = notificationMail;
     _notificationRepository = notificationRepository;
 }