public static AccountController GetAccountControllerForLoginTest(IAccountRelyingParty relyingParty) { var accountController = new AccountController(null, null, relyingParty, new TestSessionRegistry()); accountController.InjectFakeContext(); return accountController; }
public static AccountController GetAccountControllerForLoginTest(IAccountRelyingParty relyingParty) { var accountController = new AccountController(null, null, relyingParty, new TestSessionRegistry()); accountController.InjectFakeContext(); return(accountController); }
public AccountController( IMembershipService membershipService, IMemberRepository memberRepository, IAccountRelyingParty relyingParty, ISessionRegistry sessionRegistry) : base(sessionRegistry) { _membershipService = membershipService; _memberRepository = memberRepository; _relyingParty = relyingParty; }