Пример #1
0
 public ChildManager(
     IChildRepo childRepo,
     IPersonRepo personRepo,
     INumberGeneratorClient numberGenerator,
     ILogger <ChildManager> logger)
 {
     ChildRepo       = childRepo;
     PersonRepo      = personRepo;
     NumberGenerator = numberGenerator;
     Logger          = logger;
 }
Пример #2
0
 public PersonManager(
     IPersonRepo personRepo,
     IChildRepo childRepo,
     ICacheManager cacheManager,
     INumberGeneratorClient numberGenerator,
     ILogger <PersonManager> logger)
 {
     PersonRepo      = personRepo;
     CacheManager    = cacheManager;
     NumberGenerator = numberGenerator;
     ChildRepo       = childRepo;
     Logger          = logger;
 }
Пример #3
0
 public ChildService(IChildRepo repo)
 {
     this.repo = repo;
 }