예제 #1
0
        public IActionResult Get(int id)
        {
            var r = _repositiry.GetTicket(id);

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

            return(new ObjectResult(r));
        }