Esempio n. 1
0
 public ClientContractService(IClientContractRepository clientContractRepository, IDealRepository dealRepository,
                              IClientContractIndicatorService clientContractIndicatorService)
 {
     this.clientContractRepository       = clientContractRepository;
     this.dealRepository                 = dealRepository;
     this.clientContractIndicatorService = clientContractIndicatorService;
 }
Esempio n. 2
0
 public ProjectController(
     IProjectView projectView, 
     INewProjectView newProjectView, 
     IProjectRepository projectRepository, 
     IDealRepository dealRepository,
     INewProjectSupplyView newProjectSupplyView,
     INewProjectHardwareView newProjectHardwareView,
     IEditProjectSupplyView editProjectSupplyView,
     IEditProjectHardwareView editProjectHardwareView,
     INewProjectFrameView newProjectFrameView,
     IEditProjectHardwareSupplyView editProjectHardwareSupplyView,
     ILoadingView loadingView,
     ICatalogRepository catalogRepository,
     ITaskRepository taskRepository)
 {
     this.projectView = projectView;
     this.newProjectView = newProjectView;
     this.projectRepository = projectRepository;
     this.dealRepository = dealRepository;
     this.newProjectSupplyView = newProjectSupplyView;
     this.newProjectHardwareView = newProjectHardwareView;
     this.editProjectHardwareView = editProjectHardwareView;
     this.editProjectSupplyView = editProjectSupplyView;
     this.newProjectFrameView = newProjectFrameView;
     this.editProjectHardwareSupplyView = editProjectHardwareSupplyView;
     this.loadingView = loadingView;
     this.catalogRepository = catalogRepository;
     this.taskRepository = taskRepository;
 }
Esempio n. 3
0
        public ReturnFromClientWaybillService(ISettingRepository settingRepository, IReturnFromClientWaybillRepository returnFromClientWaybillRepository,
                                              ITeamRepository teamRepository, IDealRepository dealRepository, IStorageRepository storageRepository, IUserRepository userRepository, IArticlePriceService articlePriceService,
                                              IAcceptedSaleIndicatorService saleIndicatorService,
                                              IReturnFromClientService returnFromClientService, IFactualFinancialArticleMovementService factualFinancialArticleMovementService,
                                              IArticleMovementOperationCountService articleMovementOperationCountService,
                                              IArticleMovementService articleMovementService, IDealPaymentDocumentDistributionService dealPaymentDocumentDistributionService,
                                              IDealIndicatorService dealIndicatorService, IArticleRevaluationService articleRevaluationService, IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService,
                                              IArticleAvailabilityService articleAvailabilityService)
        {
            this.settingRepository = settingRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;
            this.teamRepository          = teamRepository;
            this.articlePriceService     = articlePriceService;
            this.saleIndicatorService    = saleIndicatorService;
            this.returnFromClientService = returnFromClientService;
            this.factualFinancialArticleMovementService = factualFinancialArticleMovementService;
            this.articleMovementOperationCountService   = articleMovementOperationCountService;
            this.articleMovementService = articleMovementService;

            this.articleRevaluationService = articleRevaluationService;
            this.dealPaymentDocumentDistributionService = dealPaymentDocumentDistributionService;
            this.dealIndicatorService = dealIndicatorService;
            this.dealRepository       = dealRepository;
            this.storageRepository    = storageRepository;
            this.userRepository       = userRepository;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;

            this.articleAvailabilityService = articleAvailabilityService;
        }
Esempio n. 4
0
 public PartnerController(
     IUSERRepository userRepository, IDealRepository dealRepository, ICouponRepository couponRepository)
 {
     _userRepository  = userRepository;
     _dealRepository  = dealRepository;
     _coupoRepository = couponRepository;
 }
Esempio n. 5
0
 public DealController()
 {
     _commonRepository  = new commonRepository();
     _productRepository = new ProductRepository();
     _dealRepository    = new DealRepository();
     _schemeRepository  = new SchemeRepository();
 }
Esempio n. 6
0
        public BlockingService(IDealRepository dealRepository, IDealIndicatorService dealIndicatorService, IClientContractIndicatorService clientContractIndicatorService)
        {
            this.dealRepository = dealRepository;

            this.clientContractIndicatorService = clientContractIndicatorService;
            this.dealIndicatorService           = dealIndicatorService;
        }
Esempio n. 7
0
 public PartnerController(
     IUSERRepository userRepository, IDealRepository dealRepository, ICouponRepository couponRepository)
 {
     _userRepository = userRepository;
     _dealRepository = dealRepository;
     _coupoRepository = couponRepository;
 }
Esempio n. 8
0
 public DealManager(IUserManager userManager,
                    ICacheStoreManager cacheStoreManager,
                    ILogManager logManager,
                    IDealRepository dealRepository,
                    IWorkbenchDealsRepository workbenchDealsRepository,
                    ITblDealRepository tblDealRepository,
                    IDealStatusesLookupManager dealStatusesLookupManager,
                    IEntityLockManager dealLockManager,
                    IDealTransformationManager dealsTransformationManager,
                    ICedantManager cedantManager,
                    IBrokerManager brokerManager
                    , ITblClausesDealRepository tblClausesDealRepository
                    )
     : base(userManager, cacheStoreManager, logManager)
 {
     _dealRepository            = ValidateRepository(dealRepository);
     _workbenchDealsRepository  = ValidateRepository(workbenchDealsRepository);
     _tblDealRepository         = ValidateRepository(tblDealRepository);
     _dealStatusesLookupManager = ValidateManager(dealStatusesLookupManager);
     _dealLockManager           = ValidateManager(dealLockManager);
     _dealTransformationManager = ValidateManager(dealsTransformationManager);
     _cedantManager             = ValidateManager(cedantManager);
     _brokerManager             = ValidateManager(brokerManager);
     _tblClausesdealRepository  = ValidateRepository(tblClausesDealRepository);
 }
        public DealController(IDealRepository dealRepository, IStructuredLog structuredLog)
        {
            this.dealRepository = dealRepository;
            this.structuredLog  = structuredLog;

            structuredLog.Information("DealController initialized");
        }
Esempio n. 10
0
 public HomeController(IBuyOrderRepository buyOrderRepository, ISellOrderRepository sellOrderRepository,
                       IDealRepository dealRepository)
 {
     _buyOrderRepository  = buyOrderRepository;
     _sellOrderRepository = sellOrderRepository;
     _dealRepository      = dealRepository;
 }
Esempio n. 11
0
 public BaseSaleIndicatorService(IBaseSaleIndicatorRepository <T> saleIndicatorRepository, IArticleRepository articleRepository,
                                 IDealRepository expenditureWaybillRepository)
 {
     this.saleIndicatorRepository = saleIndicatorRepository;
     this.articleRepository       = articleRepository;
     this.dealRepository          = expenditureWaybillRepository;
 }
Esempio n. 12
0
 public DealController(IDealRepository dealRepository, ITaskRepository taskRepository, IDealView dealView, INewDealView newDealView, ILoadingView loadingView)
 {
     this.dealView = dealView;
     this.newDealView = newDealView;
     this.loadingView = loadingView;
     this.taskRepository = taskRepository;
     this.dealRepository = dealRepository;
 }
        public ActiveDealDashboardViewModel(IDealRepository dealRepo)
        {
            _dealRepo = dealRepo;

            State                   = ViewModelState.Idle;
            CreateDealCommand       = new DelegateCommand(ShowDealCapture);
            EditSelectedDealCommand = new DelegateCommand(ShowDealEnrichment, () => SelectedDeal != null);
        }
Esempio n. 14
0
        public SaleWaybillService(ISaleWaybillRepository saleWaybillRepository, IDealRepository dealRepository,
                                  IDealIndicatorService dealIndicatorService, ITeamRepository teamRepository)
        {
            this.saleWaybillRepository = saleWaybillRepository;
            this.dealRepository        = dealRepository;
            this.teamRepository        = teamRepository;

            this.dealIndicatorService = dealIndicatorService;
        }
Esempio n. 15
0
 public DealService(
     IBuyOrderRepository buyOrderRepository,
     ISellOrderRepository sellOrderRepository,
     IDealRepository dealRepository)
 {
     _buyOrderRepository  = buyOrderRepository;
     _sellOrderRepository = sellOrderRepository;
     _dealRepository      = dealRepository;
 }
Esempio n. 16
0
 public OrderController()
 {
     _user                = new UserMasterRepository();
     _commonRepository    = new commonRepository();
     _dealRepository      = new DealRepository();
     _schemeRepository    = new SchemeRepository();
     _orderRepository     = new OrderRepository();
     _orderItemRepository = new OrderItemRepository();
 }
Esempio n. 17
0
        public HomeController(IDealRepository repository)
        {
            if (repository == null)
            {
                throw new ArgumentNullException("IDealRepository is required");
            }

            this.repository = repository;
        }
Esempio n. 18
0
 public RegisterDealHandler(
     IBus bus,
     IDealRepository dealRepository,
     ILeadRepository leadRepository)
 {
     _bus            = bus;
     _dealRepository = dealRepository;
     _leadRepository = leadRepository;
 }
        public DealCreationViewModel(IDealRepository dealRepository, Guid dealId)
        {
            _dealRepository   = dealRepository;
            _dealId           = dealId;
            AddSectionCommand = new DelegateCommand(AddSection);
            SubmitCommand     = new DelegateCommand(Submit, CanSubmit);

            State = ViewModelState.Idle;
            AddSection();
        }
        public DealCreationViewModel(IDealRepository dealRepository, Guid dealId)
        {
            _dealRepository = dealRepository;
            _dealId = dealId;
            AddSectionCommand = new DelegateCommand(AddSection);
            SubmitCommand = new DelegateCommand(Submit, CanSubmit);

            State = ViewModelState.Idle;
            AddSection();
        }
 public UserController(IUSERRepository userRepository, IROLERepository roleRepository, 
     ICategoryRepository cateogoryRepository, IOrderRepository orderRepository,
     IDealRepository dealRepository, ICouponRepository couponRepository)
 {
     _userRepository = userRepository;
     _roleRepository = roleRepository;
     _categoryRepository = cateogoryRepository;
     _orderRepository = orderRepository;
     _dealRepository = dealRepository;
     _couponRepository = couponRepository;
 }
Esempio n. 22
0
 public CreateListingCommandHandler(
     IDealRepository dealRepository,
     IDealFactory dealFactory,
     IListingRepository listingRepository,
     IBus publisher)
 {
     this.listingRepository = listingRepository;
     this.dealRepository    = dealRepository;
     this.dealFactory       = dealFactory;
     this.publisher         = publisher;
 }
 public UserController(IUSERRepository userRepository, IROLERepository roleRepository,
                       ICategoryRepository cateogoryRepository, IOrderRepository orderRepository,
                       IDealRepository dealRepository, ICouponRepository couponRepository)
 {
     _userRepository     = userRepository;
     _roleRepository     = roleRepository;
     _categoryRepository = cateogoryRepository;
     _orderRepository    = orderRepository;
     _dealRepository     = dealRepository;
     _couponRepository   = couponRepository;
 }
Esempio n. 24
0
 public DealController(IUSERRepository userRepository, IDealRepository dealRepository, IGroupRepository groupRepository,
     ICategoryRepository categoryRepository, ICouponRepository couponRepository,
     IOrderRepository orderRepository, IPaymentMessageRepository paymentMessageRepository)
 {
     _userRepository = userRepository;
     _dealRepository = dealRepository;
     _groupRepository = groupRepository;
     _categoryRepository = categoryRepository;
     _couponRepository = couponRepository;
     _orderRepository = orderRepository;
     _paymentMessageRepository = paymentMessageRepository;
 }
Esempio n. 25
0
 public DealController(IUSERRepository userRepository, IDealRepository dealRepository, IGroupRepository groupRepository,
                       ICategoryRepository categoryRepository, ICouponRepository couponRepository,
                       IOrderRepository orderRepository, IPaymentMessageRepository paymentMessageRepository)
 {
     _userRepository           = userRepository;
     _dealRepository           = dealRepository;
     _groupRepository          = groupRepository;
     _categoryRepository       = categoryRepository;
     _couponRepository         = couponRepository;
     _orderRepository          = orderRepository;
     _paymentMessageRepository = paymentMessageRepository;
 }
Esempio n. 26
0
 public ProjectService(
     IEventBroker eventBroker,
     ICatalogRepository catalogRepository,
     ITaskRepository taskRepository,
     IDealRepository dealRepository,
     IProjectRepository projectRepository)
 {
     this.dealRepository = dealRepository;
     this.catalogRepository = catalogRepository;
     this.taskRepository = taskRepository;
     this.projectRepository = projectRepository;
     this.eventBroker = eventBroker;
 }
 public DealController(
     IBus bus,
     ILeadRepository leadRepository,
     IDealRepository dealRepository,
     IEmployeeService employeeService,
     IServiceService serviceService)
 {
     _bus = bus;
     _leadRepository = leadRepository;
     _dealRepository = dealRepository;
     _employeeService = employeeService;
     _serviceService = serviceService;
 }
Esempio n. 28
0
 public DealController(
     IBus bus,
     ILeadRepository leadRepository,
     IDealRepository dealRepository,
     IEmployeeService employeeService,
     IServiceService serviceService)
 {
     _bus             = bus;
     _leadRepository  = leadRepository;
     _dealRepository  = dealRepository;
     _employeeService = employeeService;
     _serviceService  = serviceService;
 }
Esempio n. 29
0
 public NavigationController(
     IEventBroker eventBroker,
     ICatalogRepository catalogRepository,
     IDealRepository dealRepository,
     IProjectRepository projectRepository,
     INavigationView navigationView)
 {
     this.eventBroker = eventBroker;
     this.catalogRepository = catalogRepository;
     this.dealRepository = dealRepository;
     this.projectRepository = projectRepository;
     this.navigationView = navigationView;
 }
Esempio n. 30
0
        public DealService(IDealRepository dealRepository, IClientContractRepository clientContractRepository, ITaskRepository taskRepository,
                           IDealIndicatorService dealIndicatorService, IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService,
                           IStorageService storageService, IClientContractIndicatorService clientContractIndicatorService)
        {
            this.dealRepository           = dealRepository;
            this.clientContractRepository = clientContractRepository;
            this.taskRepository           = taskRepository;

            this.dealIndicatorService = dealIndicatorService;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;
            this.storageService = storageService;
            this.clientContractIndicatorService = clientContractIndicatorService;
        }
Esempio n. 31
0
        protected DealServiceTestBase()
        {
            {
                var dbContextTask = TestExchangeDbContextProvider.GetInstanceAsync();
                dbContextTask.Wait();
                _exchangeDbContextProvider = dbContextTask.Result;

                DbContext           = _exchangeDbContextProvider.GetDbContext();
                BuyOrderRepository  = new BuyOrderRepository(DbContext);
                SellOrderRepository = new SellOrderRepository(DbContext);
                DealRepository      = new DealRepository(DbContext);
            }
        }
Esempio n. 32
0
 public AccountController()
 {
     _user                         = new UserMasterRepository();
     _commonRepository             = new commonRepository();
     _registrationRepository       = new RegistrationRepository();
     _dealRepository               = new DealRepository();
     _schemeRepository             = new SchemeRepository();
     _productCategoryRepository    = new ProductCategoryRepository();
     _productSubCategoryRepository = new ProductSubCategoryRepository();
     _productRepository            = new ProductRepository();
     _licenceImagesReposiory       = new LicenceImagesReposiory();
     _orderRepository              = new OrderRepository();
     _orderItemRepository          = new OrderItemRepository();
 }
Esempio n. 33
0
        public DealIndicatorService(IDealRepository dealRepository, IExpenditureWaybillRepository expenditureWaybillRepository,
                                    IReturnFromClientWaybillRepository returnFromClientWaybillRepository, IDealPaymentDocumentRepository dealPaymentDocumentRepository,
                                    IClientRepository clientRepository, IClientContractRepository clientContractRepository, IAccountOrganizationRepository accountOrganizationRepository,
                                    IClientOrganizationRepository clientOrganizationRepository, IEconomicAgentRepository economicAgentRepository, ISaleWaybillIndicatorService saleWaybillIndicatorService,
                                    IExpenditureWaybillIndicatorService expenditureWaybillIndicatorService, IAcceptedSaleIndicatorService acceptedSaleIndicatorService,
                                    IPermissionDistributionService permissionDistributionService, ITeamRepository teamRepository)
        {
            this.dealRepository = dealRepository;
            this.expenditureWaybillRepository      = expenditureWaybillRepository;
            this.clientRepository                  = clientRepository;
            this.clientContractRepository          = clientContractRepository;
            this.accountOrganizationRepository     = accountOrganizationRepository;
            this.clientOrganizationRepository      = clientOrganizationRepository;
            this.economicAgentRepository           = economicAgentRepository;
            this.returnFromClientWaybillRepository = returnFromClientWaybillRepository;
            this.dealPaymentDocumentRepository     = dealPaymentDocumentRepository;
            this.teamRepository = teamRepository;

            this.saleWaybillIndicatorService        = saleWaybillIndicatorService;
            this.expenditureWaybillIndicatorService = expenditureWaybillIndicatorService;
            this.acceptedSaleIndicatorService       = acceptedSaleIndicatorService;
            this.permissionDistributionService      = permissionDistributionService;
        }
Esempio n. 34
0
 public DealController(IDealRepository repository, IUnitOfWork unitOfWork)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
     _repository.UnitOfWork = unitOfWork;
 }
Esempio n. 35
0
 public AllBuyDealsQueryHandler(IDealRepository dealRepository)
 {
     this.dealRepository = dealRepository;
 }
Esempio n. 36
0
 public ApiDealController()
 {
     _dealRepository   = new DealRepository();
     _schemeRepository = new SchemeRepository();
 }
Esempio n. 37
0
 public DealsViewModel(IDealRepository repo, IImageRepository _imgRepo)
 {
     this._repo = repo;
 }
 public DealContactsController(IGenericRepository genRepo, IDealRepository dealRepo)
 {
     _genRepo  = genRepo;
     _dealRepo = dealRepo;
 }
Esempio n. 39
0
 public HomeController(IDealRepository dealRepository, ICategoryRepository categoryRepository, IContentRepository contentRepository)
 {
     _dealRepository = dealRepository;
     _categoryRepository = categoryRepository;
     _contentRepository = contentRepository;
 }
Esempio n. 40
0
 public DealsController(IDealRepository dealRepository)
 {
     this._dealRepository = dealRepository;
 }
 public AcceptedSaleIndicatorService(IAcceptedSaleIndicatorRepository acceptedSaleIndicatorRepository, IArticleRepository articleRepository, IDealRepository dealRepository)
     : base(acceptedSaleIndicatorRepository, articleRepository, dealRepository)
 {
 }
 public DealsController(IGenericRepository genRepo, IDealRepository dealRepo)
 {
     _genRepo = genRepo;
     _dealRepo = dealRepo;
 }
Esempio n. 43
0
 public DealManager(IDealRepository dealRepository)
 {
     _dealRepository = dealRepository;
 }