Ejemplo n.º 1
0
 public async Task <ContentType> UpdateContentType(
     [Service] IAsyncUpdateStrategy <ContentType, UpdateContentTypeInput> strategy,
     UpdateContentTypeInput contentType
     )
 {
     return(await strategy.UpdateAsync(contentType));
 }
Ejemplo n.º 2
0
        public async Task <MetaValueType> UpdateMetaValueType(
            [Service] IAsyncUpdateStrategy <MetaValueType, UpdateContentMetaValueTypeInput> strategy,
            UpdateContentMetaValueTypeInput metaValueType
            )
        {
            var resut = await strategy.UpdateAsync(metaValueType);

            return(resut);
        }
Ejemplo n.º 3
0
        public async Task <Content> UpdateContent(
            [Service] IAsyncUpdateStrategy <Content, UpdateContentInput> strategy,
            UpdateContentInput content
            )
        {
            var result = await strategy.UpdateAsync(content);

            return(result);
        }
Ejemplo n.º 4
0
        public async Task <User> UpdateUser(
            [Service] IAsyncUpdateStrategy <User, UpdateUserInput> strategy,
            UpdateUserInput user
            )
        {
            var result = await strategy.UpdateAsync(user);

            return(result);
        }
Ejemplo n.º 5
0
 public UpdateFloatMetaValueMutation(IAsyncUpdateStrategy <ContentFloatMetaValue, UpdateFloatMetaValueInput> strategy)
 {
     _strategy = strategy;
 }
Ejemplo n.º 6
0
 public async Task <Taxonomy> UpdateTaxonomy(
     [Service] IAsyncUpdateStrategy <Taxonomy, UpdateTaxonomyInput> strategy,
     UpdateTaxonomyInput taxonomy
     ) => await strategy.UpdateAsync(taxonomy);
Ejemplo n.º 7
0
 public async Task <ContentRelationType> UpdateContentRelationType(
     [Service] IAsyncUpdateStrategy <ContentRelationType, UpdateContentRelationTypeInput> strategy,
     UpdateContentRelationTypeInput contentRelationType
     ) => await strategy.UpdateAsync(contentRelationType);