private void SaveRecordingAct() { oRecordingActAttributes.FillRecordingAct(); recordingAct.Notes = txtObservations.Value; recordingAct.Status = (RecordingActStatus) Convert.ToChar(cboStatus.Value); recordingAct.Save(); if (this.DisplayFirstPropertyOwner) { recordingAct.SetFirstPropertyOwner(txtFirstPropertyOwner.Value); } }
private void ModifyRecordingActType() { int recordingActId = int.Parse(GetCommandParameter("recordingActId")); int recordingActTypeId = int.Parse(Request.Form["cboRecordingActType"]); RecordingAct recordingAct = recording.GetRecordingAct(recordingActId); RecordingActType recordingActType = RecordingActType.Parse(recordingActTypeId); recordingAct.RecordingActType = recordingActType; recordingAct.Save(); }