public MembershipService( DataContext dataContext, Func<HttpContextBase> lazyHttpContext) { this.dataContext = dataContext; LazyHttpContext = lazyHttpContext; var identityContext = new AppIdentityStoreContext(dataContext); IdentityManager = new AppIdentityStoreManager(identityContext); AuthenticationManager = new AppIdentityAuthenticationManager( IdentityManager); }
public MembershipService( DataContext dataContext, Func <HttpContextBase> lazyHttpContext) { this.dataContext = dataContext; LazyHttpContext = lazyHttpContext; var identityContext = new AppIdentityStoreContext(dataContext); IdentityManager = new AppIdentityStoreManager(identityContext); AuthenticationManager = new AppIdentityAuthenticationManager( IdentityManager); }