コード例 #1
0
        public ActionResult AssignSeats(Guid orderId)
        {
            var assignments = OrderQueryService.FindOrderSeatAssignments(orderId);

            if (assignments == null)
            {
                return(RedirectToAction("Find", new { conferenceCode = this.ConferenceCode }));
            }
            return(View(new OrderSeatsViewModel {
                OrderId = orderId, SeatAssignments = assignments
            }));
        }