public ActionResult <List <Diary> > GetBlogSharedByUid(int uid) { IQueryable <Diary> query = _diaryService.GetShareByUid(uid); if (query == null) { return(NotFound()); } return(query.ToList()); }