コード例 #1
0
ファイル: ThongKeController.cs プロジェクト: chimsedb/ShopWeb
        public ActionResult ChiTietDonHangChuaXN(int id, int madonhang)
        {
            SelectAdmin select      = new SelectAdmin();
            TTNguoiNhan tTNguoiNhan = select.ThongTinKhachHang(madonhang);

            return(View(select.ChiTietDonHang(madonhang)));
        }
コード例 #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);
        }