Пример #1
0
 public ValuesController(SampleService sampleService)
 {
     this.sampleService = sampleService;
 }
Пример #2
0
 public ValuesController(SampleService sampleService, IServiceDiscovery consul)
 {
     this._sampleService = sampleService;
     this._consul = consul;
 }