public async Task <bool> DeleteContentTaxonomy( [Service] IAsyncDeleteStrategy <CreateOrDeleteContentTaxonomyInput> strategy, CreateOrDeleteContentTaxonomyInput contentTaxonomy ) { await strategy.DeleteAsync(contentTaxonomy); return(true); }
public async Task <ContentTaxonomy> CreateContentTaxonomy( [Service] IAsyncCreateStrategy <ContentTaxonomy, CreateOrDeleteContentTaxonomyInput> strategy, CreateOrDeleteContentTaxonomyInput contentTaxonomy ) => await strategy.CreateAsync(contentTaxonomy);