Exemple #1
0
        public async Task <IActionResult> GetPersons()
        {
            var content = await _clientService.GetStringAsync($"{_settings.Value.OilApiAddress}Person/GetPersons");

            return(new ObjectResult(content));
        }
Exemple #2
0
        public async Task <IActionResult> GetWorkPackageSteps()
        {
            var content = await _clientService.GetStringAsync($"{_settings.Value.OilApiAddress}WorkPackageStep/GetWorkPackageSteps");

            return(new ObjectResult(content));
        }