コード例 #1
0
        public ActionResult <string> DeleteServer(string id)
        {
            string response = manager.DeleteServer(id);

            if (response == "success")
            {
                return(Ok(response));
            }
            // not inside
            return(BadRequest(response));
        }