public CustomerService(ICustomerRepository customerRepository, ICompanyRepository companyRepository, ICustomerTypeRepository customerTypeRepository, IUnitOfWork unitOfWork)
 {
     this._customerRepository = customerRepository;
     this._companyRepository = companyRepository;
     this._customerTypeRepository = customerTypeRepository;
     this._unitOfWork = unitOfWork;
 }
 public CustomerTypeController(
     ICustomerTypeRepository customerTypeRepository,
     IMapper mapper)
 {
     this._customerTypeRepository = customerTypeRepository;
     this._mapper = mapper;
 }
示例#3
0
 public CustomersController(
     ILanguageManager languageManager,
     ICustomerRepository customerRepo,
     ICustomerTypeRepository customerTypeRepo) : base(languageManager)
 {
     _customerRepo     = customerRepo;
     _customerTypeRepo = customerTypeRepo;
 }
    public Customer(int customerId)
    {
        _customerRepository.Load(this);

        ICustomerTypeRepository _customerTypeRepository = IoC.Resolve(..);

        _customerTypes = _customerTypeRepository.GetList();
    }
 public CustomerViewModelSelectListBuilder(ICustomerCategorySelectListBuilder customerCategorySelectListBuilder,
                                           ICustomerCategoryRepository customerCategoryRepository,
                                           ICustomerTypeRepository customerTypeRepository,
                                           ICustomerTypeSelectListBuilder customerTypeSelectListBuilder,
                                           IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
                                           IAspNetUserRepository aspNetUserRepository)
 {
     this.customerCategoryRepository        = customerCategoryRepository;
     this.customerCategorySelectListBuilder = customerCategorySelectListBuilder;
     this.customerTypeRepository            = customerTypeRepository;
     this.customerTypeSelectListBuilder     = customerTypeSelectListBuilder;
     this.aspNetUserRepository        = aspNetUserRepository;
     this.aspNetUserSelectListBuilder = aspNetUserSelectListBuilder;
 }
示例#6
0
 public AdminController(IManageCaseService manageCaseService
                        , ICaseSizeRepository caseSizeRepository
                        , ICustomerTypeRepository customerTypeRepository
                        , IAnimalLabelRepository animalLabelRepository
                        , ISpeciesRepository speciesRepository
                        , ILabelService labelService)
 {
     _manageCaseService      = manageCaseService;
     _caseSizeRepository     = caseSizeRepository;
     _customerTypeRepository = customerTypeRepository;
     _animalLabelRepository  = animalLabelRepository;
     _speciesRepository      = speciesRepository;
     _labelService           = labelService;
 }
 public CustomerViewModelSelectListBuilder(ICustomerCategorySelectListBuilder customerCategorySelectListBuilder,
     ICustomerCategoryRepository customerCategoryRepository,
     ICustomerTypeRepository customerTypeRepository,
     ICustomerTypeSelectListBuilder customerTypeSelectListBuilder,
     IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
     IAspNetUserRepository aspNetUserRepository)
 {
     this.customerCategoryRepository = customerCategoryRepository;
     this.customerCategorySelectListBuilder = customerCategorySelectListBuilder;
     this.customerTypeRepository = customerTypeRepository;
     this.customerTypeSelectListBuilder = customerTypeSelectListBuilder;
     this.aspNetUserRepository = aspNetUserRepository;
     this.aspNetUserSelectListBuilder = aspNetUserSelectListBuilder;
 }
        public CustomerSelectListBuilder(ICustomerTypeSelectListBuilder customerTypeSelectListBuilder, ICustomerTypeRepository customerTypeRepository, ICustomerCategorySelectListBuilder customerCategorySelectListBuilder, ICustomerCategoryRepository customerCategoryRepository, ITerritorySelectListBuilder territorySelectListBuilder, ITerritoryRepository territoryRepository, IPriceCategorySelectListBuilder priceCategorySelectListBuilder, IPriceCategoryRepository priceCategoryRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
        {
            this.customerTypeSelectListBuilder = customerTypeSelectListBuilder;
            this.customerTypeRepository        = customerTypeRepository;

            this.customerCategorySelectListBuilder = customerCategorySelectListBuilder;
            this.customerCategoryRepository        = customerCategoryRepository;

            this.territorySelectListBuilder = territorySelectListBuilder;
            this.territoryRepository        = territoryRepository;

            this.priceCategorySelectListBuilder = priceCategorySelectListBuilder;
            this.priceCategoryRepository        = priceCategoryRepository;

            this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
            this.paymentTermRepository        = paymentTermRepository;
        }
示例#9
0
 public ReportsController(
     ILanguageManager languageManager,
     ICustomerRepository customerRepo,
     ICustomerTypeRepository customerTypeRepo,
     IAccountRepository accountRepo,
     ICostCenterRepository costCenterRepo,
     IEntryItemRepository entryItemRepo,
     IBillRepository billRepo,
     IPeriodManager periodManager,
     IReportService reportService
     ) : base(languageManager)
 {
     _periodManager    = periodManager;
     _customerRepo     = customerRepo;
     _billRepo         = billRepo;
     _customerTypeRepo = customerTypeRepo;
     _accountRepo      = accountRepo;
     _costCenterRepo   = costCenterRepo;
     _entryItemRepo    = entryItemRepo;
     _reportService    = reportService;
 }
示例#10
0
 public ClientLayer(ICustomerRepository custRepository, ICustomerTypeRepository custTypeRepository)
 {
     _custRepository = custRepository;
     _custTypeRepository = custTypeRepository;
 }
示例#11
0
 public ClientLayer()
 {
     _custRepository = new CustomerRepository();
     _custTypeRepository = new CustomerTypeRepository();
 }
示例#12
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="customerTypeRepository"></param>
 /// <param name="mapper"></param>
 public CreateOrEditCustomerTypeCommandHandler(ICustomerTypeRepository customerTypeRepository, IMapper mapper)
 {
     _customerTypeRepository = customerTypeRepository;
     _mapper = mapper;
 }
 public CustomerController(ICustomerRepository customerRepository,
                           ICustomerTypeRepository customerTypeRepository)
 {
     _customerRepository     = customerRepository;
     _customerTypeRepository = customerTypeRepository;
 }
示例#14
0
 public ClientLayer()
 {
     _custRepository     = new CustomerRepository();
     _custTypeRepository = new CustomerTypeRepository();
 }
示例#15
0
 public CustomerAddBus()
 {
     this.customerTypeRepository = new CustomerTypeRepository();
     this.customerRepository     = new CustomerRepository();
 }
 public CustomerTypeService(ICustomerTypeRepository customerTypeRepository)
     : base(customerTypeRepository, null, "CustomerTypeSaveRelative")
 {
 }
示例#17
0
 public ClientLayer(ICustomerRepository custRepository, ICustomerTypeRepository custTypeRepository)
 {
     _custRepository     = custRepository;
     _custTypeRepository = custTypeRepository;
 }
 public CustomerTypesApiController(ICustomerTypeRepository commodityTypeRepository)
 {
     this.commodityTypeRepository = commodityTypeRepository;
 }
 public GetCustomerTypesIncludingCustomersQueryHandler(IMapper mapper, ICustomerTypeRepository customerTypeRepository)
 {
     _mapper = mapper;
     _customerTypeRepository = customerTypeRepository;
 }
示例#20
0
 /// <summary>
 /// 构造
 /// </summary>
 public DeleteCustomerTypeCommandHandler(ICustomerTypeRepository customerTypeRepository)
 {
     _customerTypeRepository = customerTypeRepository;
 }
 public CustomerTypesApiController(ICustomerTypeRepository commodityTypeRepository)
 {
     this.commodityTypeRepository = commodityTypeRepository;
 }
示例#22
0
 public CustomersController(ICustomerRepository customerRepository, IDocumentTypeRepository documentTypeRepository, ICustomerTypeRepository customerTypeRepository)
 {
     this.customerRepository     = customerRepository;
     this.customerTypeRepository = customerTypeRepository;
     this.documentTypeRepository = documentTypeRepository;
 }
示例#23
0
 public ManageCaseService(ICaseTypeRepository caseTypeRepository, ICustomerTypeRepository customerTypeRepository)
 {
     _caseTypeRepository = caseTypeRepository;
 }
示例#24
0
 public CodeFirstController(ICustomerTypeRepository customerTypeRepository, ICustomerRepository customerRepository)
 {
     this._customerTypeRepository = customerTypeRepository;
     this._customerRepository     = customerRepository;
 }
 public CustomerTypeService(ICustomerTypeRepository customerTypesRepository)
 {
     _customerTypesRepository = customerTypesRepository;
 }
示例#26
0
 public CustomerTypeAppService(ICustomerTypeRepository repository) : base(repository)
 {
     _repository = repository;
 }
示例#27
0
 public CustomerTypeApp(ICustomerTypeRepository repository)
 {
     this.repository = repository;
 }
示例#28
0
 public CustomerTypeManager(ICustomerTypeRepository customerTypeRepository) : base(customerTypeRepository)
 {
     _customerTypeRepository = customerTypeRepository;
 }