public ActorController(IMapper mapper, IActorRepositoryAsync actorRepositoryAsync) { actors = new Actors(mapper, actorRepositoryAsync); }
public Actors(IMapper mapper, IActorRepositoryAsync actorRepository) { _actorRepository = actorRepository; _mapper = mapper; }