private async Task <string> GetConnectionBlobStorage(int ConfigurationParameter_id) { var configuration = await _setupServices.GetById(ConfigurationParameter_id); var setDto = _mapper.Map <SetupDTO>(configuration); var connectionString = setDto.ValueParameter; return(connectionString); }
public async Task <IActionResult> GetById(int id) { var setup = await _setupServices.GetById(id); var setupDto = _mapper.Map <SetupDTO>(setup); var response = new GenericResponse <SetupDTO>(setupDto); return(Ok(response)); }