public DbFactory() { UserRepository = new UserRepository(); DesignerRepository = new DesignerRepository(); ProjectRepository = new ProjectRepository(); ModelingLanguageRepository = new ModelingLanguageRepository(); ModelingLanguageElementRepository = new ModelingLanguageElementRepository(); GameGenreRepository = new GameGenreRepository(); GameGenreElementRepository = new GameGenreElementRepository(); AssociationConfRepository = new AssociationConfRepository(); AssociationConfElementRepository = new AssociationConfElementRepository(); DesignMappingRepository = new DesignMappingRepository(); GameDesignMappingElementsRepository = new GameDesignMappingElementsRepository(); AssociationTypeRepository = new AssociationTypeRepository(); AssociationRulesRepository = new AssociationRulesRepository(); ProjectSolicitationRepository = new ProjectSolicitationRepository(); GddConfigurationRepository = new GddConfigurationRepository(); GddConfigurationElementsRepository = new GddConfigurationElementsRepository(); ProjectGddRepository = new ProjectGddRepository(); ProjectGddSectionRepository = new ProjectGddSectionRepository(); ProjectGddContentSectionRepository = new ProjectGddContentSectionRepository(); VersionRepository = new VersionRepository(); ProjectFileRepository = new ProjectFileRepository(); }
public GameGenreService(GameGenreRepository gameGenreRepository) { gameGenreRepo = gameGenreRepository; }