/// <summary> /// Update this ACTION in the database /// </summary> /// <returns></returns> public int Update(Action oldaction) { AuditWizardDataAccess lwDataAccess = new AuditWizardDataAccess(); if (this._actionID == 0) { Add(); } else { lwDataAccess.ActionUpdate(this); AuditChanges(oldaction); } return(0); }