// GET: Home public ActionResult Index() { ECommerce oECommerce = new ECommerce(); if (Session["DataSession"] != null) { return(View(Session["DataSession"])); } return(Redirect(oECommerce.GetUrlAuthorization())); }