public ActionResult DetailedHomeInsurance(string id) { if (Session["userId"] == null) { return(RedirectToAction("Login", "Account")); } DetailedHomeInsuranceViewModel dhivm = new DetailedHomeInsuranceViewModel(); dhivm = ORM.DbMethods.GetHomeInsuranceDetails(id); return(View(dhivm)); }
public ActionResult DetailedHomeInsurance(DetailedHomeInsuranceViewModel dhivm) { return(RedirectToAction("InsurancePayment", "Insurance", new { id = dhivm.InsuranceId })); }