public int ws_moveItems(int ID, string xml, out string OpStatus) { try { DeviceDataManager DDM = new DeviceDataManager(); DDM.moveItems(ID, xml); OpStatus = Resources.Messages.m_OpStatusDone; return(1); } catch (Exception err) { OpStatus = Resources.Messages.m_OpStatusFail; OpStatus += err.Message.ToString(); return(0); } }
public int ws_moveItems(int ID, string xml, out string OpStatus) { try { DeviceDataManager DDM = new DeviceDataManager(); DDM.moveItems(ID, xml); OpStatus = Resources.Messages.m_OpStatusDone; return 1; } catch (Exception err) { OpStatus = Resources.Messages.m_OpStatusFail; OpStatus += err.Message.ToString(); return 0; } }