public IActionResult DeleteComment(string commentId) { try { TaskRepository.DeleteTaskComment(commentId, _logger, _redisCache, _appSettings); return(Ok("deleted")); } catch (Exception ex) { return(BadRequest(ex.Message)); } }