public ActionResult FilterPostsWithPagingAsync(Int32 pageSize, Int32 currentPage) { ReqFilterPost reqFilterPost = new ReqFilterPost { PageSize = pageSize, CurrentPage = currentPage }; var result = _postLogic.FilterPostsWithPagingAsync(reqFilterPost); return(Ok(new BaseResponse(result.Result.Data, result.Result.Paging))); }