private void UpdateShift(tmdlshift _shift) { wsMDL.IwsMDLClient client = new wsMDL.IwsMDLClient(); try { client.DoUpdateShift(baseForm.CurrentContextInfo, _shift); } catch (Exception ex) { throw ex; } finally { baseForm.CloseWCF(client); } }