private List <int> VerifyProfileData(HidroProfileVM profile) { _logger.LogInformation("ProfileController.VerifyProfileData - Verification starts."); var errors = profile.VerifyFamilyName(); errors.AddRange(profile.VerifyGivenName()); errors.AddRange(profile.VerifyBirthday()); errors.AddRange(profile.VerifyCompany()); errors.AddRange(profile.VerifyEthnicity()); errors.AddRange(profile.VerifyJobTitle()); errors.AddRange(profile.VerifyWebsite()); errors.AddRange(profile.VerifyIntroduction()); return(errors); }