public long CreateComment(long postId, CreateCommentDto createCommentDto)
 {
     using (var unitOfWork = this.unitOfWorkFactory.CreateUnitOfWork())
     {
         var comment = createCommentDto.MapTo <Comment>();
         comment.PostId = postId;
         var commentRepository = unitOfWork.CreateEntityRepository <Comment>();
         comment.LocationNameId = this.locationNameService.NameLocation(createCommentDto);
         commentRepository.Create(comment);
         unitOfWork.Save();
         return(comment.Id);
     }
 }