private void Tel_213_requestRoomDelete(List <string> lDataList, ref networkServer.networkClientInterface relatedClient) { try { //log Logger.writeInLog(true, "Message #213 (REQ_ROOMDELETE) received from a client!"); //Get room data int iRoomDeleteStatusCode = DatabaseEngine.deleteRoom(Convert.ToInt32(lDataList[0])); string sProtocol = "#214" + cProtocolDelimiter + iRoomDeleteStatusCode; //Send message to client TcpServer.sendMessage(sProtocol, relatedClient); Logger.writeInLog(true, "Answered #214 with status code: " + iRoomDeleteStatusCode); } catch (Exception e) { Logger.writeInLog(true, "ERROR: Something went wrong with telegram (REQ_ROOMDELETE)! Message: " + e.ToString()); return; } }