public int ws_deletePlace(int ID, out string OpStatus) { try { OpStatus = "Выполнено"; DeviceDataManager DDM = new DeviceDataManager(); DDM.deletePlace(ID); return(1); } catch (Exception err) { OpStatus = err.Message.ToString(); return(0); } }
public int ws_deletePlace(int ID, out string OpStatus) { try { OpStatus = "Выполнено"; DeviceDataManager DDM = new DeviceDataManager(); DDM.deletePlace(ID); return 1; } catch (Exception err) { OpStatus = err.Message.ToString(); return 0; } }