示例#1
0
        public IActionResult Get()
        {
            var beg = _dataRepository.GetAll();

            if (beg == null)  //String.IsNullOrEmpty(texto)
            {
                return(NotFound("Adressen sind null"));
            }


            return(Ok(beg));
        }
示例#2
0
        public IActionResult Get()
        {
            var zusage = _dataRepository.GetAll();

            if (zusage == null)  //String.IsNullOrEmpty(texto)
            {
                return(NotFound("Zusagen sind null"));
            }


            return(Ok(zusage));
        }