示例#1
0
        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));
        }
示例#2
0
 public ActionResult DetailedHomeInsurance(DetailedHomeInsuranceViewModel dhivm)
 {
     return(RedirectToAction("InsurancePayment", "Insurance", new { id = dhivm.InsuranceId }));
 }