public ICommandResult Handle(CreateSingerCommand command) { var name = new Name(command.FirstName, command.LastName); var singer = new Singer(name, command.Nationality, command.About, command.Image); AddNotifications(name.Notifications); AddNotifications(singer.Notifications); if (Invalid) { return(new CommandResult(false, "Falha ao cadastrar cantor", Notifications)); } var retorno = _repository.Create(singer); if (!retorno) { return(new CommandResult(false, "Falha ao cadastrar Cantor", Notifications)); } return(new CommandResult(true, "Cantor Cadastrado com sucesso")); }