public AuthenticationAuditController()
 {
     _service = IoC.GetService<IAuthenticationAuditService>();
 }
Пример #2
0
 public LogoutController(AuthenticationService<NhUserAccount> authSvc,IAuthenticationAuditService authenticationAuditService)
 {
     _authSvc = authSvc;
     _authenticationAuditService = authenticationAuditService;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController" /> class.
 /// </summary>
 /// <param name="auditService">The audit service.</param>
 public AccountController(IAuthenticationAuditService auditService)
 {
     this.auditService = auditService;
 }