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"); }