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