Example #1
0
 public async Task <UserContent> CreateUserContent(
     [Service] IAsyncCreateStrategy <UserContent, CreateOrDeleteUserContentInput> strategy,
     CreateOrDeleteUserContentInput userContent
     ) => await strategy.CreateAsync(userContent);
 public CreateFloatMetaValueMutation(IAsyncCreateStrategy <ContentFloatMetaValue, CreateFloatMetaValueInput> strategy)
 {
     _strategy = strategy;
 }
 public async Task <ParentTaxonomy> CreateParentTaxonomy(
     [Service] IAsyncCreateStrategy <ParentTaxonomy, CreateOrDeleteParentTaxonomyInput> strategy,
     CreateOrDeleteParentTaxonomyInput parentTaxonomy
     ) => await strategy.CreateAsync(parentTaxonomy);
Example #4
0
 public async Task <Taxonomy> CreeateTaxonomy(
     [Service] IAsyncCreateStrategy <Taxonomy, CreateTaxonomyInput> strategy,
     CreateTaxonomyInput taxonomy
     ) => await strategy.CreateAsync(taxonomy);
 public async Task <ParentContent> CreateParentContent(
     [Service] IAsyncCreateStrategy <ParentContent, CreateOrDeleteParentInput> straategy,
     CreateOrDeleteParentInput parentContent
     ) => await straategy.CreateAsync(parentContent);
Example #6
0
 public async Task <ContentRelationType> CreateContentRelationType(
     [Service] IAsyncCreateStrategy <ContentRelationType, CreateContentRelationTypeInput> strategy,
     CreateContentRelationTypeInput contentRelationType
     ) => await strategy.CreateAsync(contentRelationType);