public ActionResult SignUpNext(SignUpNextModel model) //Action method for sign up next { if (ModelState.IsValid) { model.UserId = (int)TempData["id"]; var theatre = AutoMapper.Mapper.Map <SignUpNextModel, Theatre>(model); //Auto mapper userBl.SignUpNext(theatre); ViewBag.message = "Registered successfully"; } return(View()); }