public LabelDepositJob(string label)
        {
            _label = new Label(label);

            _id = PersistentKey.New();
        }
 public void SaveEvents(PersistentKey aggregateId, IEnumerable<IEvent> events, int expectedVersion)
 {
     foreach(var ev in events)
         _publisher.Publish(ev);
 }
 public DepositDetected(PersistentKey id, Label label)
 {
     Key = id;
 }