public ActionResult ChinhSuaHopDong(String SoHopDong) { ViewBag.CTCPPS = ChiTietChiPhiPhatSinhQueries.LayDanhSachCTCPPhatSinhTheoSoHopDong(SoHopDong); ViewBag.ChiPhi = ChiPhiPhatSinhQueries.DanhSachChiPhiPhatSinh(); ViewBag.LoTrinh = LoTrinhQueries.LayDanhSachLoTrinh(); ViewBag.KhachHang = KhachHangQueries.LayDanhSachKhachHangThanThiet(); var model = HopDongQueries.LayThongTinHopDong(SoHopDong); return(View(model)); }
public ActionResult ChiTietHopDong(String SoHopDong) { var model = HopDongQueries.LayThongTinHopDong(SoHopDong); ViewBag.CTCPPS = ChiTietChiPhiPhatSinhQueries.LayDanhSachCTCPPhatSinhTheoSoHopDong(SoHopDong); ViewBag.LoaiXe = LoaiXeQueries.LayDanhSachLoaiXe(); ViewBag.CTHD = CT_HopDongQueries.GroupbyCTHopDong(SoHopDong); ViewBag.CongTy = CongTiesQueries.LayThongTinChiTietCty("DETRA"); ViewBag.ChiPhi = ChiPhiPhatSinhQueries.DanhSachChiPhiPhatSinh(); return(View(model)); }