public virtual async Task RemoveTagFromEntityAsync(EntityTagRemoveDto input)
 {
     await RequestAsync(nameof(RemoveTagFromEntityAsync), new ClientProxyRequestTypeValue
     {
         { typeof(EntityTagRemoveDto), input }
     });
 }
Ejemplo n.º 2
0
        public async Task RemoveTagFromEntityAsync(EntityTagRemoveDto input)
        {
            var definition = await _tagDefinitionStore.GetTagEntityTypeDefinitionsAsync(input.EntityType);

            await CheckPolicyAsync(definition.DeletePolicy);

            await _entityTagManager.RemoveTagFromEntityAsync(
                input.TagId,
                input.EntityType,
                input.EntityId,
                CurrentTenant?.Id);
        }
Ejemplo n.º 3
0
    public virtual async Task RemoveTagFromEntityAsync(EntityTagRemoveDto input)
    {
        var definition = await TagDefinitionStore.GetAsync(input.EntityType);

        await CheckAnyOfPoliciesAsync(definition.DeletePolicies);

        await EntityTagManager.RemoveTagFromEntityAsync(
            input.TagId,
            input.EntityType,
            input.EntityId,
            CurrentTenant?.Id);
    }
Ejemplo n.º 4
0
 public Task RemoveTagFromEntityAsync(EntityTagRemoveDto input)
 {
     return(EntityTagAdminAppService.RemoveTagFromEntityAsync(input));
 }