public ActionResult <Pagelist <ApiScopeDto> > GetApiScopes([FromQuery] PageInputDto pageInput, int apiresourceId)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelStateErrors));
            }
            var result = _apiresourceService.GetScopes(pageInput, apiresourceId);

            return(result);
        }