protected override void Initialize(RequestContext requestContext) { if (FormsService == null) { FormsService = new FormsAuthenticationService(); } if (MembershipService == null) { MembershipService = new AccountMembershipService(); } base.Initialize(requestContext); }
public DoRegister() { FormsService = new FormsAuthenticationService(); MembershipService = new AccountMembershipService(); Result = new DoRegisterResultModel { PasswordLength = MembershipService.MinPasswordLength }; }
public DoLogOn() { FormsService = new FormsAuthenticationService(); MembershipService = new AccountMembershipService(); Result = new DoLogOnResultModel(); }