Browse Source

Update PostAppService.cs

pull/16313/head
Onur Pıçakcı 3 years ago
parent
commit
a5352d5fef
  1. 6
      modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs

6
modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs

@ -191,11 +191,7 @@ namespace Volo.Blogging.Posts
public async Task<List<PostWithDetailsDto>> GetListByUserIdAsync(Guid userId)
{
var posts = await PostRepository.GetListByUserIdAsync(userId);
if (CurrentUser != null)
{
}
return ObjectMapper.Map<List<Post>, List<PostWithDetailsDto>>(posts);
}

Loading…
Cancel
Save