public ActionResult ChiTietDH(int sohd)
        {
            HoadonDao   hoadonDao = new HoadonDao();
            List <cthd> listcthd  = hoadonDao.LayCTHD(sohd);

            ViewData["listcthd"] = listcthd;
            return(View());
        }
        public ActionResult XemDonHang()
        {
            HoadonDao   dao      = new HoadonDao();
            List <cthd> listcthd = new List <cthd>();

            hoadon hd = new hoadon();

            if (Session["dangnhap"] != null || !string.IsNullOrEmpty(Session["dangnhap"].ToString()))
            {
                hd       = dao.HoaDonGanNhatCuaKH((int)Session["dangnhap"]);
                listcthd = dao.LayCTHD((int)Session["dangnhap"]);
            }

            ViewData["hoadon"]    = hd;
            ViewData["listorder"] = listcthd;
            return(View());
        }