private void Handle(TakeProductMsg msg) { #warning // test if item exists / create one if not ActorSelection itemActor = Context.ActorSelection(ActorSelectionPaths.BasketItem(msg.BasketId, msg.ProductId)); itemActor.Tell(msg); }
private void Handle(ReturnProductMsg msg) { ActorSelection itemActor = Context.ActorSelection(ActorSelectionPaths.BasketItem(msg.BasketId, msg.ProductId)); itemActor.Tell(msg); }