Beispiel #1
0
        public StockState HandleTimeout(SellCommand command)
        {
            if (_version == command.Version)
            {
                return(new SoldState(command.Id));
            }

            return(this);
        }
Beispiel #2
0
 public StockState HandleTimeout(SellCommand command)
 {
     return(this);
 }