在url.action中传递Javascript参数

时间:2019-01-10 16:21:27

标签: javascript asp.net-mvc razor

我想将参数传递给控制器​​方法,但我似乎无法使参数传递给方法

我的代码是

AboutResource.GetRequest oRequest = driveService.About.Get();
oRequest.Fields = "user:displayName, user:permissionId, user:emailAddress";
About oResponse = oRequest.Execute();
result = oResponse.User.DisplayName + " | " + oResponse.User.PermissionId + " | " + oResponse.User.EmailAddress;

0 个答案:

没有答案