예제 #1
0
        public async Task <ActionResult> AddShow(Guid id, CreateShowRequest model)
        {
            Guid showId = Guid.NewGuid();
            await _cinemaService.AddShow(id, showId, model);

            return(CreatedAtRoute(nameof(ShowsController.GetShowById), new { id = showId }, showId));
        }