Example #1
0
 public HomeController(
     IAgeService ageService,
     ILogger <HomeController> logger)
 {
     _ageService = ageService;
     _logger     = logger;
 }
Example #2
0
 public PeopleService(IUnitOfWork uow, IAgeService ageService)
 {
     this.uow = uow;
     this.ageService = ageService;
 }
 public PeopleController()
 {
     _namesProxy = ServiceProxy.Create <INameService>(new Uri("fabric:/SF.Listeners/SF.Listeners.People"), listenerName: "NameService");
     _ageProxy   = ServiceProxy.Create <IAgeService>(new Uri("fabric:/SF.Listeners/SF.Listeners.People"), listenerName: "AgeService");
 }