public ActionResult Packages(string Id) { Id = StringCipher.Base64Decode(Id); ViewBag.Id = Id; return(View()); }
public ActionResult Login(string Id, string err = "") { if (sessiondto.getName() == null) { ViewBag.message = err; ViewBag.Id = StringCipher.Base64Decode(Id); return(View()); } else { return(RedirectToAction("Index", "Home")); } }
public ActionResult Signup(string package = "") { if (package == "") { return(RedirectToAction("GetStarted", "Home")); } else { package = StringCipher.Base64Decode(package); BrainTreePayment payment = new BrainTreePayment(); ViewBag.package = package; return(View()); } }
public ActionResult Product(string Id) { Id = StringCipher.Base64Decode(Id); Product p = new UserBL().getProductById(Convert.ToInt32(Id)); if (p != null) { string path = p.Images.FirstOrDefault().Path; ViewBag.path = path; } ViewBag.product = p; return(View()); }