Пример #1
0
 public CustomerService(ICustomerRepository customerRepository, ILogger <CustomerService> logger, IPhoneRepository phoneRepository, IAddressRepository addressRepository, ILocalPhoneRepository localPhoneRepository)
 {
     _customerRepository   = customerRepository;
     _logger               = logger;
     _phoneRepository      = phoneRepository;
     _addressRepository    = addressRepository;
     _localPhoneRepository = localPhoneRepository;
 }
 public AddressService(IAddressRepository addressRepository, ILogger <AddressService> logger, ILocalPhoneRepository localPhoneRepository)
 {
     _addressRepository    = addressRepository;
     _logger               = logger;
     _localPhoneRepository = localPhoneRepository;
 }
Пример #3
0
 public LocalPhoneService(ILocalPhoneRepository localPhoneRepository, IEmployeeRepository employeeRepository, IUnitOfWork uow)
     : this(localPhoneRepository, uow)
 {
     this._employeeRepository = employeeRepository;
 }
Пример #4
0
 public LocalPhoneService(ILocalPhoneRepository localPhoneRepository, IUnitOfWork uow)
 {
     _localPhoneRepository = localPhoneRepository;
     _uow = uow;
 }
 public LocalPhoneService(IAddressRepository addressRepository, ILocalPhoneRepository localPhoneRepository, ILogger <LocalPhoneService> logger)
 {
     _addressRepository    = addressRepository;
     _localPhoneRepository = localPhoneRepository;
     _logger = logger;
 }