public async Task <IEnumerable <PostAttachmentDto> > GetAttachments(int id)
        {
            var post        = _postManager.Posts.FirstOrDefault(a => a.Id == id);
            var attachments = await _attachmentManager.GetAttachments(post);

            return(attachments.Select(a => a.MapTo <PostAttachmentDto>()));
        }