public ChildManager( IChildRepo childRepo, IPersonRepo personRepo, INumberGeneratorClient numberGenerator, ILogger <ChildManager> logger) { ChildRepo = childRepo; PersonRepo = personRepo; NumberGenerator = numberGenerator; Logger = logger; }
public PersonManager( IPersonRepo personRepo, IChildRepo childRepo, ICacheManager cacheManager, INumberGeneratorClient numberGenerator, ILogger <PersonManager> logger) { PersonRepo = personRepo; CacheManager = cacheManager; NumberGenerator = numberGenerator; ChildRepo = childRepo; Logger = logger; }
public ChildService(IChildRepo repo) { this.repo = repo; }