public CustomerRepository(azTravelXEntities txContext, IMapper mapper, IConfigurationProvider mappingConfig) : base(txContext) { _txContext = txContext; _mapper = mapper; _mappingConfig = mappingConfig; }
public CustomerService( azTravelXEntities txContext, IMapper mapper, IConfigurationProvider mappingConfig, ICustomerRepository customerRepository) { _txContext = txContext; _mapper = mapper; _mappingConfig = mappingConfig; _customerRepository = customerRepository; }
public ProfilesController(azTravelXEntities txContext, ICustomerService customerService) { _txContext = txContext; _customerService = customerService; }