public async Task <ActionResult <ApiScope> > GetApiScope(int Id) { if (!ModelState.IsValid) { return(BadRequest(ModelStateErrors)); } var result = await _apiresourceService.GetScope(Id); return(result); }