示例#1
0
        public ActionResult <CommandReadDto> GetBusinessById(int id)
        {
            var hall = _repository.GetBusinessById(id);

            if (hall == null)
            {
                return(NotFound());
            }

            return(Ok(hall));
        }