public IActionResult GetTheater(int id)
        {
            var theater = _theaterService.GetTheater(id);

            if (theater == null)
            {
                return(NotFound());
            }
            return(Ok(theater));
        }
示例#2
0
 public Theater GetTheater(int id)
 {
     return(Theater.GetTheater(id));
 }