public AuthenticationAuditController() { _service = IoC.GetService<IAuthenticationAuditService>(); }
public LogoutController(AuthenticationService<NhUserAccount> authSvc,IAuthenticationAuditService authenticationAuditService) { _authSvc = authSvc; _authenticationAuditService = authenticationAuditService; }
/// <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; }