public CreateAndUpdateCategoriesBlock(IGetCategoryPipeline getCategoryPipeline, ICreateCategoryPipeline createCategoryPipeline, IFindEntityPipeline findEntityPipeline, IAssociateCategoryToParentPipeline associateCategoryToParentPipeline, IPersistEntityPipeline persistEntityPipeline, IDoesEntityExistPipeline doesEntityExistPipeline) { _getCategoryPipeline = getCategoryPipeline; _createCategoryPipeline = createCategoryPipeline; _findEntityPipeline = findEntityPipeline; _associateCategoryToParentPipeline = associateCategoryToParentPipeline; _persistEntityPipeline = persistEntityPipeline; _doesEntityExistPipeline = doesEntityExistPipeline; }
public GetOrCreateCategoryBlock(IDoesEntityExistPipeline doesEntityExistPipeline, IGetCategoryPipeline getCategoryPipeline, ICreateCategoryPipeline createCategoryPipeline) { _doesEntityExistPipeline = doesEntityExistPipeline; _getCategoryPipeline = getCategoryPipeline; _createCategoryPipeline = createCategoryPipeline; }