private void Handle(ReturnProductMsg msg) { ActorSelection productActor = Context.ActorSelection(ActorSelectionPaths.Product(msg.ProductId)); productActor.Tell(msg); }
private void Handle(TakeProductMsg msg) { ActorSelection basketMngActor = Context.ActorSelection(ActorSelectionPaths.Product(msg.ProductId)); basketMngActor.Tell(msg); }