public async Task <IActionResult> AddApiProperties(CreateApiPropertiesDto apiProperties) { if (!ModelState.IsValid) { return(BadRequest(ModelStateErrors)); } var result = await _apiresourceService.AddProperties(apiProperties); return(ResultResponse(result, "添加ApiProperties成功")); }