コード例 #1
0
        public async Task <bool> DeleteUserContent(
            [Service] IAsyncDeleteStrategy <CreateOrDeleteUserContentInput> strategy,
            CreateOrDeleteUserContentInput userContent
            )
        {
            await strategy.DeleteAsync(userContent);

            return(true);
        }
コード例 #2
0
        public async Task <bool> DeleteContentTaxonomy(
            [Service] IAsyncDeleteStrategy <CreateOrDeleteContentTaxonomyInput> strategy,
            CreateOrDeleteContentTaxonomyInput contentTaxonomy
            )
        {
            await strategy.DeleteAsync(contentTaxonomy);

            return(true);
        }
コード例 #3
0
 public DeleteBoolMetaValueMutation(IAsyncDeleteStrategy <DeleteBoolMetaValueInput> strategy)
 {
     _strategy = strategy;
 }