public ManufacturerWebService() { BzaleDatabaseContext context = new BzaleDatabaseContext(); _manufacturerRepository = new ManufacturerRepository(context); _categoryRepository = new MainCategoryRepository(context); }
public CategoryWebService() { BzaleDatabaseContext context = new BzaleDatabaseContext(); _categoryRepository = new MainCategoryRepository(context); _subcategoryRepository = new SubCategoryRepository(context); _productRepository = new ProductTypeRepository(context); }
public BudgetService(IMapper mapper, IBudgetRepository budgetRepo, IExpenseRepository expenseRepo, IMainCategoryRepository mainCRepo, IDetailedCategoryRepository detailedCRepo) { _mapper = mapper; _budgetRepo = budgetRepo; _expenseRepo = expenseRepo; _mainCRepo = mainCRepo; _detailedCRepo = detailedCRepo; }
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; }
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(); }
public MainCService(IMapper mapper, IMainCategoryRepository mainCRepo) { _mapper = mapper; _mainCRepo = mainCRepo; }
public CategoryController(IMainCategoryRepository mainCategory, ISubCategoryRepository subCategory, IProductRepository product) { _mainCategory = mainCategory; _subCategory = subCategory; _product = product; }
public CreateCategoryCommandHandler(IMainCategoryRepository mainCategoryRepository) { _mainCategoryRepository = mainCategoryRepository; }
public DetailedCService(IMapper mapper, IDetailedCategoryRepository detailedCRepo, IMainCategoryRepository mainCRepo) { _mapper = mapper; _detailedCRepo = detailedCRepo; _mainCRepo = mainCRepo; }
public NavbarViewComponent(IMainCategoryRepository mainCategory) { _mainCategory = mainCategory; }
public MainCategoryService(IMainCategoryRepository mainCategoryRepository, IMapper Mapper) { _mainCategoryRepository = mainCategoryRepository; _Mapper = Mapper; }