protected override void Initialize(RequestContext requestContext) { if (FormsService == null) { FormsService = new FormsAuthenticationService(); } if (MembershipService == null) { //MembershipService = new AccountMembershipService(); FelBookDBEntities db = new FelBookDBEntities(); MembershipService = new FelbookAccountMembershipService(db); } base.Initialize(requestContext); }
protected override void Initialize(RequestContext requestContext) { if (FormsService == null) { FormsService = new FormsAuthenticationService(); } if (MembershipService == null) { //MembershipService = new AccountMembershipService(); FelBookDBEntities db = new FelBookDBEntities(); MembershipService = new FelbookAccountMembershipService(db); } base.Initialize(requestContext); }