public ActionResult <List <Diary> > GetBlogShared()
        {
            IQueryable <Diary> query = _diaryService.GetByShare();

            if (query == null)
            {
                return(NotFound());
            }
            return(query.ToList());
        }