コード例 #1
0
        public ActionResult <List <Diary> > GetBlogSharedByUid(int uid)
        {
            IQueryable <Diary> query = _diaryService.GetShareByUid(uid);

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