public ActionResult CreateBill(int id) { int customerPolicyId = id; CustomerpolicyDAORequest request = new CustomerpolicyDAORequest(); CustomerpolicyViewModel model = request.GetCustomerPolicyById(id); return(View(model)); }
public ActionResult SearchCustomerPolicy(int id) { CustomerpolicyViewModel model = csp.GetCustomerPolicyById(id); return(Json(model.TotalPayment, JsonRequestBehavior.AllowGet)); }