public IActionResult GetAllBlogs()
        {
            var result = _blogService.GetAllBlogs();

            return(Json(ApiSecurity.Encode(result)));
        }