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 BudgetService(IMapper mapper, IBudgetRepository budgetRepo, IExpenseRepository expenseRepo, IMainCategoryRepository mainCRepo, IDetailedCategoryRepository detailedCRepo)
 {
     _mapper        = mapper;
     _budgetRepo    = budgetRepo;
     _expenseRepo   = expenseRepo;
     _mainCRepo     = mainCRepo;
     _detailedCRepo = detailedCRepo;
 }
Exemplo n.º 4
0
 public CategoriesViewmodel(MainViewmodel mainViewmodel)
     : base(RepositoryResolver.GetRepository <ICategoryRepository>())
 {
     _mainViewmodel            = mainViewmodel;
     _mainCategoriesRepository = RepositoryResolver.GetRepository <IMainCategoryRepository>();
     LoadMainCategories();
     _searchTerm = string.Empty;
     MaintainMainCategoriesCommand = new RelayCommand(async(obj) => await MaintainMainCategoriesAsync(), CanMaintainMainCategories);
 }
 public PlannedExpenseService(IMapper mapper, IPlannedExpenseRepository plannedExpenseRepo, IDetailedCategoryRepository detailedCRepo,
                              IMainCategoryRepository mainCRepo, IExpenseRepository expenseRepo)
 {
     _mapper             = mapper;
     _plannedExpenseRepo = plannedExpenseRepo;
     _detailedCRepo      = detailedCRepo;
     _mainCRepo          = mainCRepo;
     _expenseRepo        = expenseRepo;
 }
Exemplo n.º 6
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.º 7
0
 public MainCService(IMapper mapper, IMainCategoryRepository mainCRepo)
 {
     _mapper    = mapper;
     _mainCRepo = mainCRepo;
 }
Exemplo n.º 8
0
 public CategoryController(IMainCategoryRepository mainCategory, ISubCategoryRepository subCategory, IProductRepository product)
 {
     _mainCategory = mainCategory;
     _subCategory  = subCategory;
     _product      = product;
 }
Exemplo n.º 9
0
 public CreateCategoryCommandHandler(IMainCategoryRepository mainCategoryRepository)
 {
     _mainCategoryRepository = mainCategoryRepository;
 }
Exemplo n.º 10
0
 public DetailedCService(IMapper mapper, IDetailedCategoryRepository detailedCRepo, IMainCategoryRepository mainCRepo)
 {
     _mapper        = mapper;
     _detailedCRepo = detailedCRepo;
     _mainCRepo     = mainCRepo;
 }
Exemplo n.º 11
0
 public NavbarViewComponent(IMainCategoryRepository mainCategory)
 {
     _mainCategory = mainCategory;
 }
 public MainCategoryService(IMainCategoryRepository mainCategoryRepository, IMapper Mapper)
 {
     _mainCategoryRepository = mainCategoryRepository;
     _Mapper = Mapper;
 }