public void Delete(DM_MonHocInfo pDM_MonHocInfo) { var client = new UnimOsServiceClient(); client.cDDM_MonHoc_Delete(GlobalVar.MaXacThuc, pDM_MonHocInfo); client.Close(); mErrorMessage = oDDM_MonHoc.ErrorMessages; mErrorNumber = oDDM_MonHoc.ErrorNumber; }