public ActionResult SignUp(SignUpModel signUp)                               //Action methos for sign up
 {
     if (ModelState.IsValid)                                                  //validation checking
     {
         var user = AutoMapper.Mapper.Map <SignUpModel, UserAccount>(signUp); //using Auto Mapper
         userBl.SignUp(user);
         if (signUp.Role == "Theatre Manager")
         {
             int id = userBl.GetUserId(signUp.MailId);
             TempData["id"] = id;
             return(RedirectToAction("SignUpNext"));      //Redirect to signup next page
         }
         else
         {
             ViewBag.message = "Registered successfully completed";
             return(View("SignIn"));
         }
     }
     return(View());
 }