public EmbeddedOrderViewModel(IEventAggregator events, Stock stock)
        {
            this._events = events;
            events.Subscribe(this);

            StockOrder = new StockOrder {Stock = stock};
        }
 public void Publish(Stock stock, bool delete = false)
 {
     _events.Publish(new StockChangedEvent
     {
         Stock = stock,
         Delete = delete
     });
 }