public GetAllJobs(JobsActorProvider provider, ILogger <GetAllJobs> logger) { this.Logger = logger; this.JobsActor = provider.Get(); }
public static IActorRef CreateInstance(ActorSystem actorSystem, JobsActorProvider provider) { var jobsActor = provider.Get(); return(actorSystem.ActorOf(BackLogsActor.Props(jobsActor), "backLogs")); }