예제 #1
0
 public AppUserLoginEventService(AppUserLoginEventRepository appUserLoginEventRepository, IDataProtectionProvider dataProtector, AppUserLoginEventMailer appUserLoginEventMailer, ILogger <AppUserLoginEventService> logger)
 {
     this._appUserLoginEventRepository = appUserLoginEventRepository;
     this._dataProtector           = dataProtector.CreateProtector(EncryptionPurpose);
     this._appUserLoginEventMailer = appUserLoginEventMailer;
     this._logger = logger;
 }
 /// <inheritdoc />
 public AccountController(AppUserManager appUserManager, IMapper mapper, AppUserLoginEventRepository appUserLoginEventRepository)
 {
     this._appUserManager = appUserManager;
     this._mapper         = mapper;
     this._appUserLoginEventRepository = appUserLoginEventRepository;
 }