Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public async Task <ParentTaxonomy> CreateParentTaxonomy(
     [Service] IAsyncCreateStrategy <ParentTaxonomy, CreateOrDeleteParentTaxonomyInput> strategy,
     CreateOrDeleteParentTaxonomyInput parentTaxonomy
     ) => await strategy.CreateAsync(parentTaxonomy);
Exemplo n.º 4
0
 public async Task <Taxonomy> CreeateTaxonomy(
     [Service] IAsyncCreateStrategy <Taxonomy, CreateTaxonomyInput> strategy,
     CreateTaxonomyInput taxonomy
     ) => await strategy.CreateAsync(taxonomy);
Exemplo n.º 5
0
 public async Task <ParentContent> CreateParentContent(
     [Service] IAsyncCreateStrategy <ParentContent, CreateOrDeleteParentInput> straategy,
     CreateOrDeleteParentInput parentContent
     ) => await straategy.CreateAsync(parentContent);
Exemplo n.º 6
0
 public async Task <ContentRelationType> CreateContentRelationType(
     [Service] IAsyncCreateStrategy <ContentRelationType, CreateContentRelationTypeInput> strategy,
     CreateContentRelationTypeInput contentRelationType
     ) => await strategy.CreateAsync(contentRelationType);