public async Task <AjaxResult> CreateApiResourceAsync([FromBody] ApiResourceInputDto dto) { return((await _apiResourceService.CreateApiResourceAsync(dto)).ToAjaxResult()); }