private bool IsEmailAvailable(Command command, Photographer photographer)
        {
            var existingPhotographer = _repository.FindByEmail(photographer.Email);

            if (existingPhotographer != null && existingPhotographer.Id != photographer.Id && !existingPhotographer.Equals(photographer))
            {
                _bus.RaiseEvent(new DomainNotification(command.GetCommandName(), "The photographer e-mail has already been taken."));
                return(false);
            }

            return(true);
        }