public TestDataGenerator( string testDataFolder, IAcademyService service) { this.testDataFolder = testDataFolder; this.service = service; roleManager = new WebMatrixRoleManager(); }
public AccountService( RoleManager roleManager, AccountManager accountManager, IDataContext dataContext) { this.roleManager = roleManager; this.accountManager = accountManager; this.dataContext = dataContext; }
static AcademyService() { accountManager = new WebMatrixAccountManager(); roleManager = new WebMatrixRoleManager(); }
static AcademyContext() { accountManager = new WebMatrixAccountManager(); roleManager = new WebMatrixRoleManager(); }