Example #1
0
        public Benchmark()
        {
            _httpClient = new HttpClient
            {
                BaseAddress = new Uri("https://localhost:5001")
            };

            _service = GrpcChannel.ForAddress("https://localhost:5001").CreateGrpcService <IMeteoriteService>();
        }
Example #2
0
 public CalculatorController(IMeteoriteService meteoriteService)
 {
     _meteoriteService = meteoriteService;
 }
 public MeteoriteController()
 {
     _service = new MeteoriteService();
 }