Commits

Edison Chuang committed 8680d2f

A test action was added for test new feature of Supporting ActionName attritube.

Comments (0)

Files changed (1)

source/MVC.ApiExplorer.Demo/Controllers/APIController.cs

 			return File(data, "application/zip", "DummyFile.txt");
 		}
 
-
+		[HttpPost]
+		[ActionName("ChangedActionName")]
+		[Description("An action which the name was changed by decorating with an ActionName attritube.")]
+		public ActionResult OriginalActionName(string msg, string value1, int value2 = 0, bool valut3 = false)
+		{
+			return Json(new { msg = msg, value1 = value1, value2 = value2, value3 = valut3 });
+		}
 
 	}
 }