public async Task <ActionResult <PagedResult <RelativeRankedShow> > > GetAllShowsRelativelyRanked() { var page = HttpContext.Request.Query["page"].ToString(); var pageNumber = string.IsNullOrEmpty(page) ? 1 : int.Parse(page); var pageSize = HttpContext.Request.Query["page-size"].ToString(); var pageSizeNumber = string.IsNullOrEmpty(pageSize) ? 100 : int.Parse(pageSize); return(await _repository.GetAllShowsRelativelyRanked(pageNumber, pageSizeNumber).ConfigureAwait(false)); }