public async Task <Parent> Handle(AddParentCommand command) { School school = await schoolRepository.GetSchool(command.SchoolId); Parent parent = Parent.Create( Name.Create(command.Name), Identification.Create(command.Identification), BirthDate.Create(command.BirthDate)); school.AddParent(parent); await bus.Publish(school.GetEvents(), command.Header); return(parent); }