예제 #1
0
        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();
        }
예제 #2
0
        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();
        }