public VendorServiceCapabilityRatingController(IVendorRepository vendorRepository, IVendorServiceCategoryRepository vendorservicecategoryRepository, IRatingScaleRepository ratingscaleRepository, IVendorServiceCapabilityRatingRepository vendorservicecapabilityratingRepository) { this.vendorRepository = vendorRepository; this.vendorservicecategoryRepository = vendorservicecategoryRepository; this.ratingscaleRepository = ratingscaleRepository; this.vendorservicecapabilityratingRepository = vendorservicecapabilityratingRepository; }
public OrderService() { this.dbContext = new OrderDbContext(); this.groupingRepository = new GroupingRepository(this.dbContext); this.itemRepository = new ItemRepository(this.dbContext); this.vendorRepository = new VendorRepository(this.dbContext); this.orderRepository = new OrderRepository(this.dbContext); }
public VendorAddressController(IVendorRepository vendorRepository, IVendorAddressCategoryRepository vendoraddresscategoryRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IVendorAddressRepository vendoraddressRepository) { this.vendorRepository = vendorRepository; this.vendoraddresscategoryRepository = vendoraddresscategoryRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.vendoraddressRepository = vendoraddressRepository; }
public VendorSupplierDiversityCertificateInfoController(IVendorRepository vendorRepository, IVendorSupplierDiversityCertificationCategoryRepository vendorsupplierdiversitycertificationcategoryRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IVendorSupplierDiversityCertificateInfoRepository vendorsupplierdiversitycertificateinfoRepository) { this.vendorRepository = vendorRepository; this.vendorsupplierdiversitycertificationcategoryRepository = vendorsupplierdiversitycertificationcategoryRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.vendorsupplierdiversitycertificateinfoRepository = vendorsupplierdiversitycertificateinfoRepository; }
public VendorsController(IVendorRepository vendorRepository, IAddressRepository addressRepository, IMapper mapper, IVendorService vendorService, INotify notify) : base(notify) { _vendorRespository = vendorRepository; _addressRespository = addressRepository; _mapper = mapper; _vendorService = vendorService; }
//private readonly GPContext _dbcontext; public VendorController(IVendorRepository vendorRepository, IImportVendor importVendor, ILogger <VendorController> logger, IOptions <APIConfig> config, IHttpContextAccessor accessor) //GPSysContext dbcontext, { _vendorRepository = vendorRepository; _importVendor = importVendor; _logger = logger; _config = config; _accessor = accessor; _context = accessor.HttpContext; queryString = _context.Request.QueryString.ToString(); }
public ConfirmShipmentService( IOrderRepository orderRepository, IArchiveService archiveService, IAuditLogAdapter log, IVendorRepository vendorRepo, INotificationHelper notificationHelper) { _orderRepo = orderRepository; _archiveService = archiveService; _log = log; _vendorRepo = vendorRepo; _notificationHelper = notificationHelper; }
public RALServices ( IBusinessUnitRepository businessUnitRepository, ILoginRepository loginRepository, IPORepository pORepository, IStoreRepository storeRepository, IVendorRepository vendorRepository, IRALUnitOfWork rALUnitOfWork, IMapper mapper, IEmailManager emailManager ) { if (businessUnitRepository == null) { throw new ArgumentNullException("BusinessUnitRepository"); } if (loginRepository == null) { throw new ArgumentNullException("LoginRepository"); } if (pORepository == null) { throw new ArgumentNullException("PORepository"); } if (storeRepository == null) { throw new ArgumentNullException("StoreRepository"); } if (vendorRepository == null) { throw new ArgumentNullException("VendorRepository"); } if (rALUnitOfWork == null) { throw new ArgumentNullException("RALUnitOfWork"); } if (mapper == null) { throw new ArgumentNullException("Mapper"); } if (emailManager == null) { throw new ArgumentNullException("EmailManager"); } _businessUnitRepository = businessUnitRepository; _loginRepository = loginRepository; _pORepository = pORepository; _storeRepository = storeRepository; _vendorRepository = vendorRepository; _rALUnitOfWork = rALUnitOfWork; _mapper = mapper; _emailManager = emailManager; }
public TransactionImporter(IUnitOfWork unitOfWork, IAccountService accountService, IAccountRepository accountRepository, ITransactionRepository transactionRepository, IVendorRepository vendorRepository, ICategoryGroupRepository categoryGroupRepository, IAccountGroupRepository accountGroupRepository, IImportDescriptionVendorMapRepository importDescriptionVendorMapRepository) { _unitOfWork = unitOfWork; _accountService = accountService; _accountRepository = accountRepository; _transactionRepository = transactionRepository; _vendorRepository = vendorRepository; _categoryGroupRepository = categoryGroupRepository; _accountGroupRepository = accountGroupRepository; _importDescriptionVendorMapRepository = importDescriptionVendorMapRepository; }
public VendorsController(IIndustryRepository industryRepository, ICompanyOwnerRepository companyownerRepository, IVendorLegalCompanyStructureCategoryRepository vendorlegalcompanystructurecategoryRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IVendorStatusCategoryRepository vendorstatuscategoryRepository, IUserRepository userRepository, IVendorRepository vendorRepository) { this.industryRepository = industryRepository; this.companyownerRepository = companyownerRepository; this.vendorlegalcompanystructurecategoryRepository = vendorlegalcompanystructurecategoryRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.vendorstatuscategoryRepository = vendorstatuscategoryRepository; this.userRepository = userRepository; this.vendorRepository = vendorRepository; }
/// <summary> /// The main VendorController constructor with parameters necessary for dependency injection /// </summary> /// <param name="logger">The ILogger type of VendorController for dependency injection</param> /// <param name="service">The IVendorService for dependency injection</param> /// <param name="mapper">Dependency injection for AutoMapper</param> public VendorController(ILogger <VendorController> logger, IVendorRepository service, IMapper mapper) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _service = service ?? throw new ArgumentNullException(nameof(service)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public ProductsController(IProductRepository productRepository, IProductService productService, IMapper mapper, IVendorRepository vendorRepository, INotify notify) : base(notify) { _productRep = productRepository; _productService = productService; _mapper = mapper; _vendorRep = vendorRepository; }
public AdminServiceMock( IUnitOfWork unitOfWork = null, IVendorRepository vendor = null, IUserTitleRepository userTitle = null , ITypeOfWorkCategoryRepository TOWCategoryRepository = null, IMediaOutletCategoryRepository MediaOutletCategoryRepository = null, IGLAccountMediaOutletCategoryRepository GLAccountMediaOutletCategoryRepository = null, IWBSElementRepository wbsElementRepository = null, IMediaOutletRepository mediaOutletRepository = null, IChannelDeliverableGroupUserTitleRepository channelDeliverableGroupUserTitleRepository = null , IMasterVendorRepository masterVendorRepository = null, IDeliverableGroupRepository deliverableGroupRepository = null, ITypeOfWorkRepository towRepository = null ) : base(unitOfWork, vendor, userTitle, TOWCategoryRepository, MediaOutletCategoryRepository, GLAccountMediaOutletCategoryRepository, wbsElementRepository, mediaOutletRepository, channelDeliverableGroupUserTitleRepository, masterVendorRepository, deliverableGroupRepository, towRepository ) { }
public VendorContactController(IVendorRepository vendorRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IContactProfessionTypeRepository contactprofessiontypeRepository, IEthnicBackgroundRepository ethnicbackgroundRepository, IGenderRepository genderRepository, IVeteranCategoryRepository veterancategoryRepository, IUserRepository userRepository, IVendorContactRepository vendorcontactRepository) { this.vendorRepository = vendorRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.contactprofessiontypeRepository = contactprofessiontypeRepository; this.ethnicbackgroundRepository = ethnicbackgroundRepository; this.genderRepository = genderRepository; this.veterancategoryRepository = veterancategoryRepository; this.userRepository = userRepository; this.vendorcontactRepository = vendorcontactRepository; }
public BillManager(IHttpContextAccessor contextAccessor, IBillRepository repository, IItemRepository itemRepository, IVendorRepository vendorRepository, ITransactionRepository transactionRepository, IUnitOfWork unitOfWork) { _userId = contextAccessor.HttpContext.User.GetUserId(); _repository = repository; _itemRepository = itemRepository; _vendorRepository = vendorRepository; _transactionRepository = transactionRepository; _unitOfWork = unitOfWork; }
public VendorRepositoryTests() { _repository = new VendorRepository(Context.Object); _vendor = new Vendor { Id = Guid.NewGuid(), Name = "Test name", Email = "Test email", Addresses = new List <Address>(), Links = new List <Link>(), Phones = new List <Phone>(), WorkingHours = "10:00-24:00" }; }
public PickTicketService( IAuditLogAdapter log, IArchiveService archiveService, IOrderRepository orderRepo, IVendorRepository vendorRepo, IProductRepository productRepo, IOrderHelper orderHelper) { _log = log; _orderRepo = orderRepo; _productRepo = productRepo; _orderHelper = orderHelper; _vendorRepo = vendorRepo; _archiveService = archiveService; }
public AccountService(IUnitOfWork unitOfWork, IAccountRepository accountRepository, ITransactionRepository transactionRepository, ICategoryRepository categoryRepository, IVendorRepository vendorRepository, IBillRepository billRepository, IBillTransactionRepository billTransactionRepository, IBillGroupRepository billGroupRepository, ICategoryGroupRepository categoryGroupRepository, IBudgetCategoryRepository budgetCategoryRepository, IImportDescriptionVendorMapRepository importDescriptionVendorMapRepository) { _unitOfWork = unitOfWork; _accountRepository = accountRepository; _transactionRepository = transactionRepository; _categoryRepository = categoryRepository; _vendorRepository = vendorRepository; _billRepository = billRepository; _billTransactionRepository = billTransactionRepository; _billGroupRepository = billGroupRepository; _categoryGroupRepository = categoryGroupRepository; _budgetCategoryRepository = budgetCategoryRepository; _importDescriptionVendorMapRepository = importDescriptionVendorMapRepository; }
public AdminController(ILoginService loginService, IArticleRepository articleRepo, IOrderRepository orderRepo, IProductRepository productRepo, IUserRepository userRepo, IVendorRepository vendorRepo, IImageRepository imageRepo, IFeedbackRepository feedbackRepo, ICategoryRepository categoryRepo, ITagRepository tagRepo) { _LoginService = loginService; _ArticleRepo = articleRepo; _OrderRepo = orderRepo; _ProductRepo = productRepo; _UserRepo = userRepo; _VendorRepo = vendorRepo; _ImageRepo = imageRepo; _FeedbackRepo = feedbackRepo; _CategoryRepo = categoryRepo; _TagRepo = tagRepo; }
public BillPaymentManager(IHttpContextAccessor contextAccessor, IBillRepository billRepository, IVendorRepository vendorRepository, IBillPaymentRepository billPaymentRepository, ITransactionRepository transactionRepository, IBankAccountRepository bankAccountRepository, IUnitOfWork unitOfWork) { _userId = contextAccessor.HttpContext.User.GetUserId(); _billRepository = billRepository; _vendorRepository = vendorRepository; _billPaymentRepository = billPaymentRepository; _transactionRepository = transactionRepository; _bankAccountRepository = bankAccountRepository; _unitOfWork = unitOfWork; }
protected VendorSearchService(ISearchRepository <VendorSearch> searchRepository, IVendorRepository vendorRepository, IDiscountRepository discountRepository, ILocationService locationService, ICategoryService categoryService, ITagService tagService, IMapper mapper) { SearchRepository = searchRepository; _vendorRepository = vendorRepository; _discountRepository = discountRepository; _locationService = locationService; _categoryService = categoryService; _tagService = tagService; _mapper = mapper; }
public VendorService(IVendorRepository vendorRepository, IDiscountService discountService, IMapper mapper, IHistoryService historyService, IVendorSearchService searchService, INotificationService notificationService, IUserService userService) : base(vendorRepository, mapper) { _vendorRepository = vendorRepository; _discountService = discountService; _mapper = mapper; _historyService = historyService; _searchService = searchService; _notificationService = notificationService; _userService = userService; }
public OrderingService( IPurchaseOrderRepository purchaseOrder, IPurchaseOrderItemRepository item, IPurchaseOrderCategoryRepository category, IVendorRepository vendor, IApproverRepository approver, IPurchaserRepository purchaser, ITrackingRepository tracking) { PurchaseOrder = purchaseOrder; Item = item; Category = category; Vendor = vendor; Approver = approver; Purchaser = purchaser; Tracking = tracking; }
public VendorsViewModel(IVendorRepository vendorRepository) { this.vendorRepository = vendorRepository; this.vendors = new ObservableCollection <VendorItemRow>(); this.messageDialog = new ContentDialog() { Title = "Confirm", DefaultButton = ContentDialogButton.Primary, PrimaryButtonText = "Yes", SecondaryButtonText = "Cancel", Content = "Are you sure you wanna delete?" }; this.CellEditEndedCommand = new DelegateCommand <DataGridCellEditEndingEventArgs>(HandleCellEditEnded); this.AddVendorCommand = new DelegateCommand(HandleAddVendorCommand); this.ResetVendorCommand = new DelegateCommand(HandleResetVendorCommand); this.Vendor = new Vendor(); this.populateVendors(); }
public InventoryViewModel(IProductRepository productRepository, IVendorRepository vendorRepository, ICategoryRepository categoryRepository) { this.productRepository = productRepository; this.vendorRepository = vendorRepository; this.categoryRepository = categoryRepository; this.product = new Product(); this.products = new ObservableCollection <InventoryItemRow>(); this.AddProductCommand = new DelegateCommand(HandleAddProduct); this.SelectionChangedCommand = new DelegateCommand <SelectionChangedEventArgs>(HandleSelectionChanged); this.ResetProductCommand = new DelegateCommand(HandleResetProduct); this.messageDialog = new ContentDialog() { Title = "Confirm", DefaultButton = ContentDialogButton.Primary, PrimaryButtonText = "Yes", SecondaryButtonText = "Cancel", Content = "Are you sure you wanna delete?" }; }
public PurchaseService(IPurchaseRepository repo, IProductRepository prodrepo, IVendorRepository vendrepo, IShipMethodRepository shiprepo) { _repository = repo; _productrepo = prodrepo; _vendorrepo = vendrepo; _shipmethodrepo = shiprepo; Mapper.CreateMap<PurchaseOrderHeader, IPurchaseHeader>(); Mapper.CreateMap<IPurchaseHeader, PurchaseOrderHeader>(); Mapper.CreateMap<PurchaseOrderDetail, IPurchaseDetail>(); Mapper.CreateMap<IPurchaseDetail, PurchaseOrderDetail>(); Mapper.CreateMap<PurchaseOrderHeader, PurchaseOrderHeader>(); Mapper.CreateMap<PurchaseOrderDetail, PurchaseOrderDetail>(); Mapper.CreateMap<Product, IMaster>(); Mapper.CreateMap<Vendor,IMaster>(); Mapper.CreateMap<ShipMethod, IMaster>(); }
public VendorService( ILogger <IVendorRepository> logger, IVendorRepository vendorRepository, IApiVendorRequestModelValidator vendorModelValidator, IBOLVendorMapper bolvendorMapper, IDALVendorMapper dalvendorMapper, IBOLProductVendorMapper bolProductVendorMapper, IDALProductVendorMapper dalProductVendorMapper, IBOLPurchaseOrderHeaderMapper bolPurchaseOrderHeaderMapper, IDALPurchaseOrderHeaderMapper dalPurchaseOrderHeaderMapper) : base(logger, vendorRepository, vendorModelValidator, bolvendorMapper, dalvendorMapper, bolProductVendorMapper, dalProductVendorMapper, bolPurchaseOrderHeaderMapper, dalPurchaseOrderHeaderMapper) { }
public DiscountService(IDiscountRepository discountRepository, IFavoritesService favoritesService, IVendorRepository vendorRepository, IMapper mapper, ISearchService <Discount, Discount> searchService, IHistoryService historyService, IStatisticsService statisticsService, IOptions <NotificationOptions> notificationOptions, INotificationService notificationService) { _discountRepository = discountRepository; _favoritesService = favoritesService; _vendorRepository = vendorRepository; _searchService = searchService; _historyService = historyService; _statisticsService = statisticsService; _mapper = mapper; _notificationOptions = notificationOptions.Value; _notificationService = notificationService; }
public AbstractVendorService( ILogger logger, IVendorRepository vendorRepository, IApiVendorRequestModelValidator vendorModelValidator, IBOLVendorMapper bolVendorMapper, IDALVendorMapper dalVendorMapper, IBOLProductVendorMapper bolProductVendorMapper, IDALProductVendorMapper dalProductVendorMapper, IBOLPurchaseOrderHeaderMapper bolPurchaseOrderHeaderMapper, IDALPurchaseOrderHeaderMapper dalPurchaseOrderHeaderMapper) : base() { this.VendorRepository = vendorRepository; this.VendorModelValidator = vendorModelValidator; this.BolVendorMapper = bolVendorMapper; this.DalVendorMapper = dalVendorMapper; this.BolProductVendorMapper = bolProductVendorMapper; this.DalProductVendorMapper = dalProductVendorMapper; this.BolPurchaseOrderHeaderMapper = bolPurchaseOrderHeaderMapper; this.DalPurchaseOrderHeaderMapper = dalPurchaseOrderHeaderMapper; this.logger = logger; }
public LuceneVendorSearchService( ISearchRepository <VendorSearch> searchRepository, IVendorRepository vendorRepository, IDiscountRepository discountRepository, ILocationService locationService, ICategoryService categoryService, ITagService tagService, IMapper mapper) : base(searchRepository, vendorRepository, discountRepository, locationService, categoryService, tagService, mapper) { _searchPath = JsonSerializer.Serialize(new object[] { nameof(VendorSearch.Vendor).ToLower(), nameof(VendorSearch.Discounts).ToLower(), nameof(VendorSearch.Categories).ToLower(), nameof(VendorSearch.Tags).ToLower(), nameof(VendorSearch.Countries).ToLower(), nameof(VendorSearch.Cities).ToLower(), nameof(VendorSearch.Streets).ToLower() }); }
public AssetsController(IAssetRepository assetRepository, IAssetAllocationRepository assetAllocationRepository, IAssetDocumentRepository assetDocumentRepository, ISystemSnapshotRepository systemSnapshotRepository, IUnitOfWork unitOfWork, IUserRepository userRepository, IAssetCategoryRepository assetCategoryRepository, IDepartmentRepository departmentRepository, IVendorRepository vendorRepository, IEmployeeRepository employeeRepository, EmailComposerService emailComposerService) { _assetRepository = assetRepository; _assetAllocationRepository = assetAllocationRepository; _assetDocumentRepository = assetDocumentRepository; _systemSnapshotRepository = systemSnapshotRepository; _unitOfWork = unitOfWork; _userRepository = userRepository; _assetCategoryRepository = assetCategoryRepository; _departmentRepository = departmentRepository; _vendorRepository = vendorRepository; _employeeRepository = employeeRepository; _emailComposerService = emailComposerService; }
public VendorInsuranceController(IVendorRepository vendorRepository, IVendorInsuranceCategoryRepository vendorinsurancecategoryRepository, IVendorInsuranceRepository vendorinsuranceRepository) { this.vendorRepository = vendorRepository; this.vendorinsurancecategoryRepository = vendorinsurancecategoryRepository; this.vendorinsuranceRepository = vendorinsuranceRepository; }
public VendorProvider(IVendorRepository _venrepository) { venrepository = _venrepository; }
public VendorBusiness(IVendorRepository vendorRepository) { _vendorRepository = vendorRepository; }
public VendorService(IVendorRepository VendorRepository, IUnitOfWork unitOfWork) { this.VendorRepository = VendorRepository; this.unitOfWork = unitOfWork; }
public VendorService(IVendorRepository repository, ITagRepository tagRepository) { _repository = repository; _tagRepository = tagRepository; }
public VendorNoteController(IVendorRepository vendorRepository, IVendorNoteCategoryRepository vendornotecategoryRepository, IVendorNoteRepository vendornoteRepository) { this.vendorRepository = vendorRepository; this.vendornotecategoryRepository = vendornotecategoryRepository; this.vendornoteRepository = vendornoteRepository; }
public VendorRatingController(IVendorRepository vendorRepository, IRatingScaleRepository ratingscaleRepository, IVendorRatingRepository vendorratingRepository) { this.vendorRepository = vendorRepository; this.ratingscaleRepository = ratingscaleRepository; this.vendorratingRepository = vendorratingRepository; }
public VendorFinancialDataController(IVendorRepository vendorRepository, ICurrencyRepository currencyRepository, IVendorFinancialDataRepository vendorfinancialdataRepository) { this.vendorRepository = vendorRepository; this.currencyRepository = currencyRepository; this.vendorfinancialdataRepository = vendorfinancialdataRepository; }
public VendorReferenceController(IVendorRepository vendorRepository, IVendorReferenceRepository vendorreferenceRepository) { this.vendorRepository = vendorRepository; this.vendorreferenceRepository = vendorreferenceRepository; }
public Create(IVendorRepository repo) { _repo = repo; }
public VendorService(IVendorRepository vendorRepository, IMapper mapper, IVendorInvoiceRepository vendorInvoiceRepository) { _vendorRepository = vendorRepository; _mapper = mapper; _vendorInvoiceRepository = vendorInvoiceRepository; }
public ProductMonitorService(IProductUpdateRepository updateRepository, IProductRepository productReposiitory, IVendorRepository vendorRepository) { this.updateRepository = updateRepository; this.productReposiitory = productReposiitory; this.vendorRepository = vendorRepository; }
public VendorService(IVendorRepository vendorRepository) { _vendorRepository = vendorRepository; }
public VendorUsersController(IMapper mapper, IUnitOfWork unitOfWork, IVendorUserRepository vendorUserRepository, IVendorRepository vendorRepository) { _mapper = mapper; _unitOfWork = unitOfWork; _vendorUserRepository = vendorUserRepository; _vendorRepository = vendorRepository; }
public VendorDocumentController(IVendorRepository vendorRepository, IVendorDocumentCategoryRepository vendordocumentcategoryRepository, IVendorDocumentRepository vendordocumentRepository) { this.vendorRepository = vendorRepository; this.vendordocumentcategoryRepository = vendordocumentcategoryRepository; this.vendordocumentRepository = vendordocumentRepository; }
public VendorService(IVendorRepository repo) { this.repository = repo; }
public VendorLookupController() { _vendorRepository = new VendorRepository(_uow); }
public VendorAccountManagerController(IVendorRepository vendorRepository, IUserRepository userRepository, IVendorAccountManagerRepository vendoraccountmanagerRepository) { this.vendorRepository = vendorRepository; this.userRepository = userRepository; this.vendoraccountmanagerRepository = vendoraccountmanagerRepository; }