public async Task <IActionResult> GetValues() { var values = await _repo.GetValueAsync(); return(Ok(values)); }
public async Task <string> GetValueAsync(int id) { var value = await _valueRepository.GetValueAsync(id); return(value?.Content + " " + value?.Inquiry?.InquiryString); }
public async Task <IActionResult> GetValue(int id) { Value ret = await _valueRepository.GetValueAsync(id); return(Ok(ret)); }