コード例 #1
0
        public ActionResult Find(string email, string accessCode)
        {
            var orderId = OrderQueryService.LocateOrder(email, accessCode);

            if (!orderId.HasValue)
            {
                // TODO: 404?
                return(RedirectToAction("Find", new { conferenceCode = this.ConferenceCode }));
            }

            return(RedirectToAction("Display", new { conferenceCode = this.ConferenceCode, orderId = orderId.Value }));
        }