IoC setup and issue with inherited class
问题 I'm fairly new to the IoC pattern and I've hit an issue on the way the following should be setup. I've got a Service class which has the following constructor: public BookingService(IBookingRepository bookingRepository, IUnitRepository unitRepository, IRateRepository rateRepository, IDiscountRepository discountRepository, IUnitOfWork unitOfWork) { this.bookingRepository = bookingRepository; this.unitRepository = unitRepository; this.rateRepository = rateRepository; this.discountRepository =