public IActionResult Get(string id) { var beg = _dataRepository.GetDto(id); if (beg == null) //String.IsNullOrEmpty(texto) { return(NotFound("Adresse not found.")); } return(Ok(beg)); }
public IActionResult Get(string id) { var zusage = _dataRepository.GetDto(id); if (zusage == null) //String.IsNullOrEmpty(texto) { return(NotFound("Zusage not found.")); } return(Ok(zusage)); }