示例#1
0
 public ActionResult MenuThemBangGia()
 {
     ViewBag.MaLoaiXe  = LoaiXeQueries.LayDanhSachLoaiXe();
     ViewBag.MaKH      = KhachHangQueries.LayDanhSachKhachHangThanThiet();
     ViewBag.MaLoTrinh = LoTrinhQueries.LayDanhSachLoTrinh();
     return(View());
 }
示例#2
0
        public ActionResult MenuDanhSachBangGia()
        {
            var lst = BangGiaQueries.LayDanhSachBangGia();

            ViewBag.KhachHangTT = KhachHangQueries.LayDanhSachKhachHangThanThiet();
            return(View(lst));
        }
示例#3
0
 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());
 }
示例#5
0
        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());
 }