private static void RemoveBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign, BloodPressure bloodPressure) { vitalSign.RemoveBloodPressure(bloodPressure); }
private static void AddBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign) { vitalSign.AddBloodPressure( new BloodPressure(bloodPressureDto.SystollicMeasure.GetValueOrDefault(), bloodPressureDto.DiastollicMeasure.GetValueOrDefault())); }
private static void ChangeBloodPressure(BloodPressureDto bloodPressureDto, VitalSign vitalSign, BloodPressure bloodPressure) { RemoveBloodPressure(bloodPressureDto, vitalSign, bloodPressure); AddBloodPressure(bloodPressureDto, vitalSign); }