Ejemplo n.º 1
0
        public virtual async Task <ContentDto> GetAsync(GetContentInput input)
        {
            var entity = await ContentRepository.GetAsync(
                input.EntityType,
                input.EntityId,
                CurrentTenant.Id);

            return(ObjectMapper.Map <Content, ContentDto>(entity));
        }
Ejemplo n.º 2
0
 public virtual Task <ContentDto> GetAsync(GetContentInput input)
 {
     return(ContentAppService.GetAsync(input));
 }