validation.valid(familiar);
if(validation.hasErrors()) {
throw new ValidationException(validation.errors());
}
familiar.insert();
UserProfile user_profile = new UserProfile(familiar,
Profile.findByType(Profile.ProfileType.FAMILIAR));
user_profile.insert();
InternshipFamiliar internshipFamiliar = new InternshipFamiliar(internal, familiar);
internshipFamiliar.insert();
response.status = StatusCode.CREATED;
Map map = new HashMap();
map.put("id", familiar.id);