Beispiel #1
0
        public ActionResult Verify(VerifyViewModel model)
        {
            if (ModelState.IsValid)
            {
                MyAuctionApplication.Bus.Send<UserVerified>(c =>
                {
                    c.VerificationId = model.RegistrationId;
                    c.SelectedPassword = model.Password;
                });
                return RedirectToAction("LogOn");
            }

            return View(model);
        }
Beispiel #2
0
        public ActionResult Verify(Guid id)
        {
            var model = new VerifyViewModel();

            model.RegistrationId = id;

            return View(model);
        }