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