Esempio n. 1
0
        public IActionResult ChiTietHoaDon(int idHD)
        {
            HoaDon hd = new HoaDon();

            hd = hoadonRepository.GetBy(idHD);
            var nus   = nuRepository.GetAll();
            var cthds = cthdRepository.GetAll();

            ViewBag.hd    = hd;
            ViewBag.nus   = nus;
            ViewBag.cthds = cthds;
            return(View());
        }