Ejemplo n.º 1
0
        public ActionResult ChiTietDonHangChuaXN(int id, int madonhang)
        {
            SelectAdmin select      = new SelectAdmin();
            TTNguoiNhan tTNguoiNhan = select.ThongTinKhachHang(madonhang);

            return(View(select.ChiTietDonHang(madonhang)));
        }
Ejemplo n.º 2
0
        public TTNguoiNhan ThongTinKhachHang(int madonhang)
        {
            var         Madonhang   = new SqlParameter("@madonhang", madonhang);
            TTNguoiNhan tTNguoiNhan = context.Database.SqlQuery <TTNguoiNhan>(@"TTNguoiNhan @madonhang", Madonhang).SingleOrDefault();

            return(tTNguoiNhan);
        }