public ActionResult CheckInController(Session session)
        {
            if (session.UniqueCode.ToString() != "")
            {
                sessionlogic.GetTempSessionResults(session);

                if (sessionlogic.TempSessionExists(session.UniqueCode) > 0)
                {
                    if (sessionlogic.TransferSession(session, Convert.ToInt32(Session["UserID"])) != false)
                    {
                        return(RedirectToAction("ViewSessionConroller"));
                    }
                    else
                    {
                        return(View("Index"));
                    }
                }
                else
                {
                    ModelState.AddModelError("", "Please make sure the code is correct, Try again.");
                    return(View("CheckInController"));
                }
            }
            else
            {
                return(View("CheckInController"));
            }
        }