public static CommentLike ToDto(Db.CommentLike commentLike)
{
return commentLike == null ? null :
new CommentLike
{
CommentId = commentLike.CommentId,
CommentLikeId = commentLike.CommentLikeId,
UserId = commentLike.UserId,
CreatedBy = commentLike.CreatedBy,
CreatedDate = commentLike.CreatedDate,
ModifiedBy = commentLike.ModifiedBy,
ModifiedDate = commentLike.ModifiedDate
};
}