public SearchDiscountOperation(IDiscountRepository repository, IRequestBuilder requestBuilder, IHalResponseBuilder halResponseBuilder, IDiscountEnricher discountEnricher) { _repository = repository; _requestBuilder = requestBuilder; _halResponseBuilder = halResponseBuilder; _discountEnricher = discountEnricher; }
public GetDiscountOperation(IDiscountRepository discountRepository, IHalResponseBuilder halResponseBuilder, IDiscountEnricher discountEnricher, IResponseBuilder responseBuilder, IControllerHelper controllerHelper) { _discountRepository = discountRepository; _halResponseBuilder = halResponseBuilder; _discountEnricher = discountEnricher; _responseBuilder = responseBuilder; _controllerHelper = controllerHelper; }