public ActionResult Index() { strurl = new Uri(Request.Url.AbsoluteUri).ToString(); strurl = strurl.Trim(); Shortener sh = new Shortener(); string ss = sh.TransitionURL(strurl); if (ss != "") { Response.Redirect(ss); } Short datashort = new Short(); List <Short> listshort = sh.GetDataValue(); return(View(listshort)); }