public ActionResult <APagePosts> GetNewPostList(string board, int page = 1)
        {
            var result = _boardHelper.GetNewPostListByBoardName(board, page);

            if (result == null)
            {
                return(NoContent());
            }

            return(Ok(result));
        }
Exemple #2
0
 public ActionResult <APagePosts> GetNewPostList(string board, int page = 1)
 {
     return(Ok(_boardHelper.GetNewPostListByBoardName(board, page)));
 }