Beispiel #1
0
        public IActionResult GetAll()
        {
            var dto = _service.GetAll();

            if (dto == null)
            {
                return(NotFound());
            }
            return(Ok(dto));
        }