diff --git a/src/ServerManager.WebApplication/Controllers/PluginController.cs b/src/ServerManager.WebApplication/Controllers/PluginController.cs index 9d04f889..f60b6de9 100644 --- a/src/ServerManager.WebApplication/Controllers/PluginController.cs +++ b/src/ServerManager.WebApplication/Controllers/PluginController.cs @@ -22,11 +22,11 @@ namespace ServerManager.WebApplication.Controllers // GET: api/plugin/call/00000000-0000-0000-0000-000000000000/192.168.1.1 [HttpGet()] - [Route("call/{pluginCode}/{ipString}", Name = "Call_V1")] + [Route("call/{pluginCode}/{ipString}", Name = "PluginCall_V1")] [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status500InternalServerError)] - public ActionResult Call_V1([FromRoute] string pluginCode, [FromRoute] string ipString) + public ActionResult PluginCall_V1([FromRoute] string pluginCode, [FromRoute] string ipString) { try { diff --git a/src/ServerManager.WebApplication/Controllers/ServerController.cs b/src/ServerManager.WebApplication/Controllers/ServerController.cs index 51d3c216..fd02c2ed 100644 --- a/src/ServerManager.WebApplication/Controllers/ServerController.cs +++ b/src/ServerManager.WebApplication/Controllers/ServerController.cs @@ -29,11 +29,11 @@ namespace ServerManager.WebApplication.Controllers // GET: api/server/call/00000000-0000-0000-0000-000000000000/192.168.1.1 [HttpGet()] - [Route("call/{managerCode}/{ipString}", Name = "Call_V1")] + [Route("call/{managerCode}/{ipString}", Name = "ServerCall_V1")] [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status500InternalServerError)] - public ActionResult Call_V1([FromRoute] string managerCode, [FromRoute] string ipString) + public ActionResult ServerCall_V1([FromRoute] string managerCode, [FromRoute] string ipString) { try {