/** * <summary> * Sets up instance variables that could not be set at declaration * </summary> **/ public AdminController() { viewHelper = new SharedViewHelper(db); userManager = new ApplicationUserManager(new UserStore <ApplicationUser>(identityContext)); }
/** * <summary> * Configures any instance variables that can't be * initialized earlier. * </summary> **/ public RegistrationController() { viewHelper = new SharedViewHelper(database); }