Example #1
0
 public StudyManager(IStudyStorageManager storageManager, ITeamStorageManager teamStorage, IStudyExecutionController studyExecutionController, StudyOverview studyOverview)
 {
     _studyStorageManager = storageManager;
     _teamStorage = teamStorage;
     _studyExecutionController = studyExecutionController;
     _studyOverview = studyOverview;
 }
Example #2
0
 public StudyManager()
 {
     var repo = new EntityFrameworkGenericRepository<StudyContext>();
     _teamStorage = new TeamStorageManager(repo);
     _studyStorageManager = new StudyStorageManager(repo);
     _studyExecutionController = new StudyExecutionController();
     _studyOverview = new StudyOverview();
 }