Пример #1
0
        public ActionResult ChinhSuaCongTy(CongTiesViewModel Congty)
        {
            var model = CongTiesQueries.LayThongTinChiTietCty(Congty.MaCongTy);

            CongTiesQueries.Chinhsua_CongTy(Congty);
            return(RedirectToAction("MenuDanhSachCongTy", "CongTy"));
        }
Пример #2
0
        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));
        }
Пример #3
0
        public ActionResult ChinhSuaCongTy(string MaCT)
        {
            var model = CongTiesQueries.LayThongTinChiTietCty(MaCT);

            return(View(model));
        }