public IActionResult DeleteComment(int cardId, int commentId)
        {
            if (!_cardRepository.CardExists(cardId))
            {
                return(NotFound());
            }

            var commentEntity = _cardRepository.GetComment(cardId, commentId);

            if (commentEntity == null)
            {
                return(NotFound());
            }

            _cardRepository.DeleteComment(commentEntity);

            if (!_cardRepository.Save())
            {
                return(StatusCode(500, "A problem happened while handling your request"));
            }

            return(NoContent());
        }