public ActionResult <SerialPort> SerialStop() { // Create the serial port with basic settings var port = _services.SerialStop(); return(Ok(port)); }