public ActionResult <APagePosts> GetNewPostList(string board, int page = 1) { var result = _boardHelper.GetNewPostListByBoardName(board, page); if (result == null) { return(NoContent()); } return(Ok(result)); }
public ActionResult <APagePosts> GetNewPostList(string board, int page = 1) { return(Ok(_boardHelper.GetNewPostListByBoardName(board, page))); }