示例#1
0
        public ActionResult <CommandReadDto> CreateHall(Hall hall)
        {
            _repository.CreateHall(hall);
            _repository.SaveChanges();

            return(CreatedAtRoute(nameof(GetHallById), new { Id = hall.Id }, hall));
        }