public async Task <IActionResult> GetTags([FromQuery] int page = 1, [FromQuery] int pageSize = 5) { var tags = await _tagsService.FetchPage(page, pageSize); var basePath = Request.Path; return(StatusCodeAndDtoWrapper.BuildSuccess(TagListDtoResponse.Build(tags.Item2, basePath, currentPage: page, pageSize: pageSize, totalItemCount: tags.Item1))); }