public async Task <IActionResult> GetComments(string slug, [FromQuery] int page = 1, [FromQuery] int pageSize = 5) { Tuple <int, List <Comment> > comments = await _commentService.FetchPageByProduct(slug); return(StatusCodeAndDtoWrapper.BuildSuccess( CommentListDto.Build(comments.Item2, Request.Path, page, pageSize, comments.Item1) )); }