Exemplo n.º 1
0
        public JsonResult StopServer(string serverName, string secretKey)
        {
            if (secretKey != Config.SecretCode)
            {
                return(Json(new GameServerResponceModel("F**k you again fagget.", true)));
            }

            return(Json(_service.StopServer(serverName)));
        }