/// <summary> /// Creator: Zoey McDonald /// Created: 3/2/2020 /// Approver: /// /// Logic method edits a treatment record object from the accessor method /// </summary> /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> /// <param name="oldTreatmentRecord"></param> /// <param name="newTreatmentRecord"></param> /// <returns></returns> public int EditTreatmentRecord(TreatmentRecord oldTreatmentRecord, TreatmentRecord newTreatmentRecord) { int rows = 0; try { rows = _treatmentRecordAccessor.UpdateTreatmentRecord(oldTreatmentRecord, newTreatmentRecord); } catch (Exception ex) { throw ex; } return(rows); }