예제 #1
0
 public CustomersApiController(ILogger <CustomersApiController> logger, ICustomerCreateService customerCreateService, ICustomerGetService customerGetService, ICustomerUpdateService customerUpdateService, IMapper mapper)
 {
     Logger = logger;
     CustomerCreateService = customerCreateService;
     CustomerGetService    = customerGetService;
     CustomerUpdateService = customerUpdateService;
     Mapper = mapper;
 }
 public CustomerService(ICustomerRepository customerRepository,
                        ICustomerUpdateService customerUpdateService,
                        ICustomerPropertySearchRepository customerPropertySearchRepository,
                        ICustomerPropertyValueSetRepository customerPropertyValueSetRepository)
 {
     _customerRepository = customerRepository;
     _customerPropertySearchRepository   = customerPropertySearchRepository;
     _customerPropertyValueSetRepository = customerPropertyValueSetRepository;
     UpdateService = customerUpdateService;
 }