public DimensionsService() { this.productsRepository = new ProductsRepository(); this.usersRepository = new UsersRepository(); this.profilesDimensionsRepository = new ProfilesDimensionsRepository(); this.dimensionsRepository = new DimensionsRepository(); this.profilesRepository = new ProfilesRepository(); this.usersDimensionsRepository = new UsersDimensionsRepository(); this.subscriptionsRepository = new SubscriptionsRepository(); this.utilities = new Utilities(); }
public ProfileService() { // Init repositories this.productsRepository = new ProductsRepository(); this.usersRepository = new UsersRepository(); this.subscriptionsRepository = new SubscriptionsRepository(); this.profilesRepository = new ProfilesRepository(); this.promosRepository = new PromosRepository(); this.dimensionsRepository = new DimensionsRepository(); this.usersDimensionsRepository = new UsersDimensionsRepository(); this.profilesDimensionsRepository = new ProfilesDimensionsRepository(); this.utilities = new Utilities(); }