public VillageService(PlayerRepository playerRepository, VillageRepository villageRepository, BuildingRepository buildingRepository, BuildingTypeRepository buildingTypeRepository, UnitRepository unitRepository, UnitTypeRepository unitTypeRepository, ProductRepository productRepository, ProductTypeRepository productTypeRepository, ResourceRepository resourceRepository, ResourceTypeRepository resourceTypeRepository, BuildingListQuery buildingListQuery, BuildingTypeListQuery buildingTypeListQuery, ProductListQuery productListQuery, ProductTypeListQuery productTypeListQuery, ResourceTypeListQuery resourceTypeListQuery, UnitTypeListQuery unitTypeListQuery, VillageListQuery villageListQuery, AdventureRepository adventureRepository, AdventureTypeRepository adventureTypeRepository, AdventureTypeListQuery adventureTypeListQuery, UnitListQuery unitListQuery) { this.playerRepository = playerRepository; this.villageRepository = villageRepository; this.buildingRepository = buildingRepository; this.buildingTypeRepository = buildingTypeRepository; this.unitRepository = unitRepository; this.unitTypeRepository = unitTypeRepository; this.productRepository = productRepository; this.productTypeRepository = productTypeRepository; this.resourceRepository = resourceRepository; this.resourceTypeRepository = resourceTypeRepository; this.adventureRepository = adventureRepository; this.adventureTypeRepository = adventureTypeRepository; this.buildingTypeListQuery = buildingTypeListQuery; this.productTypeListQuery = productTypeListQuery; this.productListQuery = productListQuery; this.resourceTypeListQuery = resourceTypeListQuery; this.unitTypeListQuery = unitTypeListQuery; this.adventureTypeListQuery = adventureTypeListQuery; this.villageListQuery = villageListQuery; this.unitListQuery = unitListQuery; }
public ProductService(ProductRepository productRepository, ProductTypeRepository productTypeRepository, ResourceRepository resourceRepository, ResourceTypeRepository resourceTypeRepository, VillageRepository villageRepository, ProductListQuery productListQuery, ResourceListQuery resourceListQuery, BuildingListQuery buildingListQuery) { this.productRepository = productRepository; this.resourceRepository = resourceRepository; this.productListQuery = productListQuery; this.resourceListQuery = resourceListQuery; this.buildingListQuery = buildingListQuery; }