public async Task <IActionResult> DeleteComment(int id)
        {
            if (ModelState.IsValid)
            {
                var model = new CommentModel();
                try
                {
                    var provider = await model.DeleteAsync(id);

                    model.Response = new ResponseModel($"Comment {provider} successfully deleted.", ResponseType.Success);
                    return(RedirectToAction("Index", "BlogPost"));
                }
                catch (Exception ex)
                {
                    model.Response = new ResponseModel("Comment deletion failed.", ResponseType.Failure);
                    _logger.LogInformation(ex.Message);
                }
            }
            return(RedirectToAction("Index", "BlogPost"));
        }