public void PasCoachAan(Coach currentCoach, Coach tempModifiedCoach) { //validateCoach if (ValidatePersoon(tempModifiedCoach)) { if (_dataBaseRepository.PasCoachAan(currentCoach, tempModifiedCoach)) { ValidationMessage.SetMessageHeader($"Coach {currentCoach.NaamToString} is aangepast"); } else { ValidationMessage.SetMessageHeader($"Coach {currentCoach.NaamToString} kon niet worden aangepast"); } } }