public CustomersControllerDependencyBlock( ICreateCustomerProcessor createCustomerProcessor, IInquiryCustomerProcessor inquiryCustomerProcessor, IInquiryAllCustomersProcessor allCustomerProcessor) { CreateCustomerProcessor = createCustomerProcessor; InquiryCustomerProcessor = inquiryCustomerProcessor; InquiryAllCustomersProcessor = allCustomerProcessor; }
public AdvertisersController(IUrlHelper urlHelper, ITypeHelperService typeHelperService, IPropertyMappingService propertyMappingService, ICustomersControllerDependencyBlock blockCustomer, IUsersControllerDependencyBlock blockUser) { _urlHelper = urlHelper; _typeHelperService = typeHelperService; _propertyMappingService = propertyMappingService; _inquiryCustomerProcessor = blockCustomer.InquiryCustomerProcessor; _createCustomerProcessor = blockCustomer.CreateCustomerProcessor; _inquiryUserProcessor = blockUser.InquiryUserProcessor; }