//DELETE api/book/1
        public void Delete(int Id)
        {
            SerialConnection.closePort();
            var resp = new HttpResponseMessage(HttpStatusCode.OK);

            throw new HttpResponseException(resp);
        }
 public void Stop()
 {
     SerialConnection.closePort();
 }