Example #1
0
 public ProductController(ILogger <ProductController> log, ProductActorProvider actorProvider)
 {
     _productActor = actorProvider.Get();
 }
 public BasketManagerActorProvider(IActorRefFactory system, ProductActorProvider productActorProvider)
 {
     _basketManagerRef = system.ActorOf(BasketManagerActor.Props(productActorProvider.Get()), "basket-manager");
 }