public async Task <ActionResult <ApiScopePropertiesApiDto> > GetScopeProperties(int id, int page = 1, int pageSize = 10)
        {
            var apiScopePropertiesDto = await _apiScopeService.GetApiScopePropertiesAsync(id, page, pageSize);

            var apiScopePropertiesApiDto = apiScopePropertiesDto.ToApiScopeApiModel <ApiScopePropertiesApiDto>();

            return(Ok(apiScopePropertiesApiDto));
        }
        public async Task <IActionResult> ApiScopeProperties(int id, int?page)
        {
            if (id == 0)
            {
                return(NotFound());
            }

            var properties = await _apiScopeService.GetApiScopePropertiesAsync(id, page ?? 1);

            return(View(properties));
        }