public ActionResult MenuThemBangGia() { ViewBag.MaLoaiXe = LoaiXeQueries.LayDanhSachLoaiXe(); ViewBag.MaKH = KhachHangQueries.LayDanhSachKhachHangThanThiet(); ViewBag.MaLoTrinh = LoTrinhQueries.LayDanhSachLoTrinh(); return(View()); }
public ActionResult MenuDanhSachBangGia() { var lst = BangGiaQueries.LayDanhSachBangGia(); ViewBag.KhachHangTT = KhachHangQueries.LayDanhSachKhachHangThanThiet(); return(View(lst)); }
public ActionResult ChinhsuaGia(BangGiaViewModel bg) { ViewBag.MaLoaiXe = LoaiXeQueries.LayDanhSachLoaiXe(); ViewBag.MaKH = KhachHangQueries.LayDanhSachKhachHangThanThiet(); ViewBag.MaLoTrinh = LoTrinhQueries.LayDanhSachLoTrinh(); BangGiaQueries.ChinhsuaGia(bg); return(RedirectToAction("MenuDanhSachBangGia", "BangGia")); }
public ActionResult MenuThemHopDong() { ViewBag.CTCPPS = ChiPhiPhatSinhQueries.DanhSachChiPhiPhatSinh(); ViewBag.LoTrinh = LoTrinhQueries.LayDanhSachLoTrinh(); ViewBag.LoaiXe = LoaiXeQueries.LayDanhSachLoaiXe(); ViewBag.KhachHang = KhachHangQueries.LayDanhSachKhachHangThanThiet(); return(View()); }
public ActionResult ChinhsuaGia(string id) { var bg = BangGiaQueries.LayChiTietGia(id); ViewBag.MaLoaiXe = LoaiXeQueries.LayDanhSachLoaiXe(); ViewBag.MaKH = KhachHangQueries.LayDanhSachKhachHangThanThiet(); ViewBag.MaLoTrinh = LoTrinhQueries.LayDanhSachLoTrinh(); return(View(bg)); }
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)); }
/// <summary> /// Danh sach khang hang than thiet /// </summary> /// <returns>list<KhachHangViewModel></returns> public ActionResult MenuDanhSachKhachHangThanThiet() { var model = KhachHangQueries.LayDanhSachKhachHangThanThiet(); return(View(model)); }
public ActionResult MenuThemLoTrinh() { ViewBag.MaKH = KhachHangQueries.LayDanhSachKhachHangThanThiet(); return(View()); }