Exemplo n.º 1
0
        public ManufacturerWebService()
        {
            BzaleDatabaseContext context = new BzaleDatabaseContext();

            _manufacturerRepository = new ManufacturerRepository(context);
            _categoryRepository     = new MainCategoryRepository(context);
        }
Exemplo n.º 2
0
        public CategoryWebService()
        {
            BzaleDatabaseContext context = new BzaleDatabaseContext();

            _categoryRepository    = new MainCategoryRepository(context);
            _subcategoryRepository = new SubCategoryRepository(context);
            _productRepository     = new ProductTypeRepository(context);
        }
Exemplo n.º 3
0
        public AccountWebService()
        {
            BzaleDatabaseContext context = new BzaleDatabaseContext();

            _accountRepository      = new AccountRepository(context);
            _companyRepository      = new CompanyRepository(context);
            _createAndUpdateService = new CreateAndUpdateService();
        }
Exemplo n.º 4
0
        public SaleListingWebService( )
        {
            BzaleDatabaseContext context = new BzaleDatabaseContext();

            _saleListingRepository  = new SaleListingRepository(context);
            _categoryRepository     = new MainCategoryRepository(context);
            _productRepository      = new ProductTypeRepository(context);
            _manufacturerRepository = new ManufacturerRepository(context);
            _accountRepository      = new AccountRepository(context);
            _subscriptionService    = new SubscriptionService();
            _imageService           = new ImageService();
            _createAndUpdateService = new CreateAndUpdateService();
        }
Exemplo n.º 5
0
 public MainCategoryRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 6
0
 public CompanyRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 7
0
 public AccountRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 8
0
 public SaleListingRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 9
0
 public GenericRepository(BzaleDatabaseContext context)
 {
     _entities = context;
 }
Exemplo n.º 10
0
 public ManufacturerRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 11
0
 public AdvertisementRepository(BzaleDatabaseContext context) : base(context)
 {
 }
Exemplo n.º 12
0
 public ProductTypeRepository(BzaleDatabaseContext context) : base(context)
 {
 }