質問編集履歴
1
ソースコードの先頭に何のコードか追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,6 +32,8 @@
|
|
32
32
|
|
33
33
|
```HTML:Index.cshtml
|
34
34
|
|
35
|
+
//cshtml
|
36
|
+
|
35
37
|
@Ajax.ActionLink("時刻を取得", "GetTime", new AjaxOptions() { UpdateTargetId = "result" })
|
36
38
|
|
37
39
|
<input type="text" id="result">
|
@@ -41,6 +43,8 @@
|
|
41
43
|
|
42
44
|
|
43
45
|
```csharp:HomeController.cs
|
46
|
+
|
47
|
+
//controller
|
44
48
|
|
45
49
|
public ActionResult GetTime()
|
46
50
|
|