public AdminCommandApplicationService(IUpsertPartnerCommand upsertPartnerCommand, IUpsertBranchCommand upsertBranchCommand, IUpsertCategoryCommand upsertCategoryCommand, IDeleteBranchCommand deleteBranchCommand, IDeletePartnerCommand deletePartnerCommand, IDeleteCategoryCommand deleteCategoryCommand, IUpdateModificationHashQuery updateModificationHashQuery) { _upsertPartnerCommand = upsertPartnerCommand; _upsertBranchCommand = upsertBranchCommand; _upsertCategoryCommand = upsertCategoryCommand; _deleteBranchCommand = deleteBranchCommand; _deletePartnerCommand = deletePartnerCommand; _deleteCategoryCommand = deleteCategoryCommand; _updateModificationHashQuery = updateModificationHashQuery; }
public CategoryApplicationService(ICategoryListQuery categoryListQuery, IUpsertCategoryCommand upsertCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand) { _categoryListQuery = categoryListQuery; _upsertCategoryCommand = upsertCategoryCommand; _deleteCategoryCommand = deleteCategoryCommand; }