public void AddExamination(int id, DateTime date, short duration, string exerciseType, bool bloodPress, bool skinTemp, bool skinMois, bool electrCond, bool pulse) { _patient_repository.AddExamination(id, new Examination { Date = date, Duration = duration, ExerciseType = exerciseType, ArterialPressInd = bloodPress, SkinTempInd = skinTemp, SkinMoisureInd = skinMois, ElectrCondInd = electrCond, PulseInd = pulse }); ExaminationAdded?.Invoke(); }
private void HandleExaminationAdded() { ExaminationAdded?.Invoke(); _view.Close(); }