public ActionResult accountactivate(string id) { if (!string.IsNullOrEmpty(id) && id != "Update") { var encryptedString = id.Replace("_", "/").Replace("-", "+"); string Desctr = Encryption.DecryptURL(encryptedString); string[] objArray = Desctr.Split(','); string uid = objArray[0]; string type = objArray[1]; UnseenTalentsMethod dbMethod = new UnseenTalentsMethod(); var rst = dbMethod.VerifyEmail(Convert.ToInt64(uid), type); ViewBag.done = rst.ToString().ToLower(); ViewBag.email = id; } if (id == "Update") { ViewBag.expire = "Update"; } return View(); }