示例#1
0
        public virtual async Task <List <TagDto> > GetAllRelatedTagsAsync(GetRelatedTagsInput input)
        {
            var entities = await TagRepository.GetAllRelatedTagsAsync(
                input.EntityType,
                input.EntityId,
                CurrentTenant.Id);

            return(ObjectMapper.Map <List <Tag>, List <TagDto> >(entities));
        }
示例#2
0
 public Task <List <TagDto> > GetAllRelatedTagsAsync(GetRelatedTagsInput input)
 {
     return(TagAppService.GetAllRelatedTagsAsync(input));
 }