Пример #1
0
 public RfqController(IRfqRepository rfqRepository,
                      ICustomerDynamicsRepository customerDynamicsRepository,
                      IFoundryDynamicsRepository foundryDynamicsRepository,
                      IShipmentTermRepository shipmentTermRepository,
                      IMaterialRepository materialRepository,
                      ICoatingTypeRepository coatingTypeRepository,
                      ISpecificationMaterialRepository specificationMaterialRepository,
                      IProjectPartRepository projectPartRepository,
                      ICountryRepository countryRepository,
                      IProjectRepository projectRepository,
                      IPriceSheetRepository priceSheetRepository,
                      IPartRepository partRepository)
 {
     _rfqRepository = rfqRepository;
     _customerDynamicsRepository      = customerDynamicsRepository;
     _foundryDynamicsRepository       = foundryDynamicsRepository;
     _shipmentTermRepository          = shipmentTermRepository;
     _materialRepository              = materialRepository;
     _coatingTypeRepository           = coatingTypeRepository;
     _specificationMaterialRepository = specificationMaterialRepository;
     _projectPartRepository           = projectPartRepository;
     _countryRepository    = countryRepository;
     _projectRepository    = projectRepository;
     _priceSheetRepository = priceSheetRepository;
     _partRepository       = partRepository;
 }
Пример #2
0
 public QuoteController(IQuoteRepository quoteRepository,
                        ICustomerDynamicsRepository customerDynamicsRepository,
                        ICustomerAddressDynamicsRepository customerAddressDynamicsRepository,
                        IProjectRepository projectRepository,
                        IShipmentTermRepository shipmentTermRepository,
                        IPaymentTermRepository paymentTermRepository,
                        IMaterialRepository materialRepository,
                        ICoatingTypeRepository coatingTypeRepository,
                        IHtsNumberRepository htsNumberRepository,
                        IRfqRepository rfqRepository,
                        IPriceSheetRepository priceSheetRepository,
                        IProjectPartRepository projectPartRepository,
                        IStateRepository stateRepository,
                        IPartRepository partRepository)
 {
     _quoteRepository                   = quoteRepository;
     _customerDynamicsRepository        = customerDynamicsRepository;
     _customerAddressDynamicsRepository = customerAddressDynamicsRepository;
     _projectRepository                 = projectRepository;
     _shipmentTermRepository            = shipmentTermRepository;
     _paymentTermRepository             = paymentTermRepository;
     _materialRepository                = materialRepository;
     _coatingTypeRepository             = coatingTypeRepository;
     _htsNumberRepository               = htsNumberRepository;
     _rfqRepository         = rfqRepository;
     _priceSheetRepository  = priceSheetRepository;
     _projectPartRepository = projectPartRepository;
     _stateRepository       = stateRepository;
     _partRepository        = partRepository;
 }
Пример #3
0
 public App(ICompanyRepository _repoCompany, IRfqRepository _repoRFQ, IUserRepository _repoUser, IForexRepository _repoForex, IFacebookService _svsFacebook)
 {
     repoCompany = _repoCompany;
     repoRFQ     = _repoRFQ;
     repoUser    = _repoUser;
     repoForex   = _repoForex;
     svsFacebook = _svsFacebook;
 }
Пример #4
0
 public DashboardController()
 {
     _projectRepository        = new ProjectRepository();
     _rfqRepository            = new RfqRepository();
     _quoteRepository          = new QuoteRepository();
     _customerOrderRepository  = new CustomerOrderRepository();
     _foundryOrderRepository   = new FoundryOrderRepository();
     _foundryInvoiceRepository = new FoundryInvoiceRepository();
     _packingListRepository    = new PackingListRepository();
 }
Пример #5
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_foundryOrderRepository != null)
                {
                    _foundryOrderRepository.Dispose();
                    _foundryOrderRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_customerOrderRepository != null)
                {
                    _customerOrderRepository.Dispose();
                    _customerOrderRepository = null;
                }

                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_foundryDynamicsRepository != null)
                {
                    _foundryDynamicsRepository.Dispose();
                    _foundryDynamicsRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Пример #6
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_countryRepository != null)
                {
                    _countryRepository.Dispose();
                    _countryRepository = null;
                }

                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_partDynamicsRepository != null)
                {
                    _partDynamicsRepository.Dispose();
                    _partDynamicsRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Пример #7
0
 public ProjectController()
 {
     _projectRepository          = new ProjectRepository();
     _projectPartRepository      = new ProjectPartRepository();
     _foundryOrderRepository     = new FoundryOrderRepository();
     _rfqRepository              = new RfqRepository();
     _quoteRepository            = new QuoteRepository();
     _customerOrderRepository    = new CustomerOrderRepository();
     _customerDynamicsRepository = new CustomerDynamicsRepository();
     _foundryDynamicsRepository  = new FoundryDynamicsRepository();
 }
Пример #8
0
 public ReportController()
 {
     _countryRepository         = new CountryRepository();
     _foundryDynamicsRepository = new FoundryDynamicsRepository();
     _rfqRepository             = new RfqRepository();
     _priceSheetRepository      = new PriceSheetRepository();
     _quoteRepository           = new QuoteRepository();
     _foundryOrderRepository    = new FoundryOrderRepository();
     _packingListRepository     = new PackingListRepository();
     _debitMemoRepository       = new DebitMemoRepository();
     _creditMemoRepository      = new CreditMemoRepository();
 }
Пример #9
0
        public PricingController()
        {
            _priceSheetRepository = new PriceSheetRepository();

            _rfqRepository          = new RfqRepository();
            _projectRepository      = new ProjectRepository();
            _countryRepository      = new CountryRepository();
            _quoteRepository        = new QuoteRepository();
            _partRepository         = new PartRepository();
            _projectPartRepository  = new ProjectPartRepository();
            _partDynamicsRepository = new PartDynamicsRepository();
        }
Пример #10
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_customerOrderRepository != null)
                {
                    _customerOrderRepository.Dispose();
                    _customerOrderRepository = null;
                }

                if (_foundryOrderRepository != null)
                {
                    _foundryOrderRepository.Dispose();
                    _foundryOrderRepository = null;
                }

                if (_foundryInvoiceRepository != null)
                {
                    _foundryInvoiceRepository.Dispose();
                    _foundryInvoiceRepository = null;
                }

                if (_packingListRepository != null)
                {
                    _packingListRepository.Dispose();
                    _packingListRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Пример #11
0
 public RfqController()
 {
     _rfqRepository = new RfqRepository();
     _customerDynamicsRepository      = new CustomerDynamicsRepository();
     _foundryDynamicsRepository       = new FoundryDynamicsRepository();
     _shipmentTermRepository          = new ShipmentTermRepository();
     _materialRepository              = new MaterialRepository();
     _coatingTypeRepository           = new CoatingTypeRepository();
     _specificationMaterialRepository = new SpecificationMaterialRepository();
     _projectPartRepository           = new ProjectPartRepository();
     _countryRepository    = new CountryRepository();
     _projectRepository    = new ProjectRepository();
     _priceSheetRepository = new PriceSheetRepository();
     _partRepository       = new PartRepository();
 }
Пример #12
0
 public DashboardController(IProjectRepository projectRepository,
                            IRfqRepository rfqRepository,
                            IQuoteRepository quoteRepository,
                            ICustomerOrderRepository customerOrderRepository,
                            IFoundryOrderRepository foundryOrderRepository,
                            IFoundryInvoiceRepository foundryInvoiceRepository,
                            IPackingListRepository packingListRepository)
 {
     _projectRepository        = projectRepository;
     _rfqRepository            = rfqRepository;
     _quoteRepository          = quoteRepository;
     _customerOrderRepository  = customerOrderRepository;
     _foundryOrderRepository   = foundryOrderRepository;
     _foundryInvoiceRepository = foundryInvoiceRepository;
     _packingListRepository    = packingListRepository;
 }
Пример #13
0
 public QuoteController()
 {
     _quoteRepository                   = new QuoteRepository();
     _customerDynamicsRepository        = new CustomerDynamicsRepository();
     _customerAddressDynamicsRepository = new CustomerAddressDynamicsRepository();
     _projectRepository                 = new ProjectRepository();
     _shipmentTermRepository            = new ShipmentTermRepository();
     _paymentTermRepository             = new PaymentTermRepository();
     _materialRepository                = new MaterialRepository();
     _coatingTypeRepository             = new CoatingTypeRepository();
     _htsNumberRepository               = new HtsNumberRepository();
     _rfqRepository         = new RfqRepository();
     _priceSheetRepository  = new PriceSheetRepository();
     _projectPartRepository = new ProjectPartRepository();
     _stateRepository       = new StateRepository();
     _partRepository        = new PartRepository();
 }
Пример #14
0
 public PricingController(IPriceSheetRepository priceSheetRepository,
                          IRfqRepository rfqRepository,
                          IProjectRepository projectRepository,
                          ICountryRepository countryRepository,
                          IQuoteRepository quoteRepository,
                          IPartRepository partRepository,
                          IProjectPartRepository projectPartRepository,
                          IPartDynamicsRepository partDynamicsRepository)
 {
     _priceSheetRepository   = priceSheetRepository;
     _projectPartRepository  = projectPartRepository;
     _rfqRepository          = rfqRepository;
     _projectRepository      = projectRepository;
     _countryRepository      = countryRepository;
     _quoteRepository        = quoteRepository;
     _partRepository         = partRepository;
     _partDynamicsRepository = partDynamicsRepository;
 }
Пример #15
0
 public ProjectController(IProjectRepository projectRepository,
                          IProjectPartRepository projectPartRepository,
                          IFoundryOrderRepository foundryOrderRepository,
                          IRfqRepository rfqRepository,
                          IQuoteRepository quoteRepository,
                          ICustomerOrderRepository customerRepository,
                          ICustomerDynamicsRepository customerDynamicsRepository,
                          IFoundryDynamicsRepository foundryDynamicsRepository)
 {
     _projectRepository          = projectRepository;
     _projectPartRepository      = projectPartRepository;
     _foundryOrderRepository     = foundryOrderRepository;
     _rfqRepository              = rfqRepository;
     _quoteRepository            = quoteRepository;
     _customerOrderRepository    = customerRepository;
     _customerDynamicsRepository = customerDynamicsRepository;
     _foundryDynamicsRepository  = foundryDynamicsRepository;
 }
Пример #16
0
 public ReportController(ICountryRepository countryRepository,
                         IFoundryDynamicsRepository foundryDynamicsRepository,
                         IRfqRepository rfqRepository,
                         IPriceSheetRepository priceSheetRepository,
                         IQuoteRepository quoteRepository,
                         IFoundryOrderRepository foundryOrderRepository,
                         IPackingListRepository packingListRepository,
                         IDebitMemoRepository debitMemoRepository,
                         ICreditMemoRepository creditMemoRepository)
 {
     _countryRepository         = countryRepository;
     _foundryDynamicsRepository = foundryDynamicsRepository;
     _rfqRepository             = rfqRepository;
     _priceSheetRepository      = priceSheetRepository;
     _quoteRepository           = quoteRepository;
     _foundryOrderRepository    = foundryOrderRepository;
     _packingListRepository     = packingListRepository;
     _debitMemoRepository       = debitMemoRepository;
     _creditMemoRepository      = creditMemoRepository;
 }
Пример #17
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_foundryDynamicsRepository != null)
                {
                    _foundryDynamicsRepository.Dispose();
                    _foundryDynamicsRepository = null;
                }

                if (_shipmentTermRepository != null)
                {
                    _shipmentTermRepository.Dispose();
                    _shipmentTermRepository = null;
                }

                if (_materialRepository != null)
                {
                    _materialRepository.Dispose();
                    _materialRepository = null;
                }

                if (_coatingTypeRepository != null)
                {
                    _coatingTypeRepository.Dispose();
                    _coatingTypeRepository = null;
                }

                if (_specificationMaterialRepository != null)
                {
                    _specificationMaterialRepository.Dispose();
                    _specificationMaterialRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_countryRepository != null)
                {
                    _countryRepository.Dispose();
                    _countryRepository = null;
                }

                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Пример #18
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_customerAddressDynamicsRepository != null)
                {
                    _customerAddressDynamicsRepository.Dispose();
                    _customerAddressDynamicsRepository = null;
                }

                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_shipmentTermRepository != null)
                {
                    _shipmentTermRepository.Dispose();
                    _shipmentTermRepository = null;
                }

                if (_paymentTermRepository != null)
                {
                    _paymentTermRepository.Dispose();
                    _paymentTermRepository = null;
                }

                if (_materialRepository != null)
                {
                    _materialRepository.Dispose();
                    _materialRepository = null;
                }

                if (_coatingTypeRepository != null)
                {
                    _coatingTypeRepository.Dispose();
                    _coatingTypeRepository = null;
                }

                if (_htsNumberRepository != null)
                {
                    _htsNumberRepository.Dispose();
                    _htsNumberRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_stateRepository != null)
                {
                    _stateRepository.Dispose();
                    _stateRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Пример #19
0
 public RfqService(IRfqRepository repository) : base(repository)
 {
     _repository = repository;
 }
Пример #20
0
 public TimeLineService(ITimeLineRepository repo, IRfqRepository repoRfq, IQuotationRepository repoQuotation)
 {
     this.repo          = repo;
     this.repoRfq       = repoRfq;
     this.repoQuotation = repoQuotation;
 }
Пример #21
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_userManager != null)
                {
                    _userManager.Dispose();
                    _userManager = null;
                }

                if (_countryRepository != null)
                {
                    _countryRepository.Dispose();
                    _countryRepository = null;
                }

                if (_foundryDynamicsRepository != null)
                {
                    _foundryDynamicsRepository.Dispose();
                    _foundryDynamicsRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_foundryOrderRepository != null)
                {
                    _foundryOrderRepository.Dispose();
                    _foundryOrderRepository = null;
                }

                if (_packingListRepository != null)
                {
                    _packingListRepository.Dispose();
                    _packingListRepository = null;
                }

                if (_debitMemoRepository != null)
                {
                    _debitMemoRepository.Dispose();
                    _debitMemoRepository = null;
                }

                if (_creditMemoRepository != null)
                {
                    _creditMemoRepository.Dispose();
                    _creditMemoRepository = null;
                }
            }

            base.Dispose(disposing);
        }