public async Task <Unit> Handle(CreatePostCommand request, CancellationToken cancellationToken)
        {
            var postEntity = _mapper.Map <Post>(request.Post);
            await _postsRepository.CreateAsync(postEntity);

            return(Unit.Value);
        }