Пример #1
0
        public IActionResult GetVenue([FromODataUri] Guid id)
        {
            var venue = venuesService.GetVenue(id);

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

            var model = mapper.AutoMap <Venue, VenueVM>(venue);

            return(Ok(model));
        }