Ejemplo n.º 1
0
        public async Task <bool> DeleteUserContent(
            [Service] IAsyncDeleteStrategy <CreateOrDeleteUserContentInput> strategy,
            CreateOrDeleteUserContentInput userContent
            )
        {
            await strategy.DeleteAsync(userContent);

            return(true);
        }
Ejemplo n.º 2
0
        public async Task <bool> DeleteContentTaxonomy(
            [Service] IAsyncDeleteStrategy <CreateOrDeleteContentTaxonomyInput> strategy,
            CreateOrDeleteContentTaxonomyInput contentTaxonomy
            )
        {
            await strategy.DeleteAsync(contentTaxonomy);

            return(true);
        }
 public DeleteBoolMetaValueMutation(IAsyncDeleteStrategy <DeleteBoolMetaValueInput> strategy)
 {
     _strategy = strategy;
 }