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)); }
public virtual Task <ContentDto> GetAsync(GetContentInput input) { return(ContentAppService.GetAsync(input)); }