public ActionResult Registration(FormCollection form, RegistrationViewModel model)
 {
     if (ModelState.IsValid && this.IsCaptchaValid("Invalid captcha words"))
     {
         try
         {
             var person = new Person();
             Mapper.DynamicMap(model, person);
             person.IsActive = true;
             personProvider.RegisterAccount(person);
             TempData["Person"] = person;
             TempData["RegistrationViewModel"] = model;
             return(RedirectToAction("RegistrationSuccess"));
         }
         catch (Exception ex)
         {
             HandleException(ex);
         }
     }
     this.IsCaptchaValid("Captcha is not valid");
     return(RedirectToAction("Registration"));
 }