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