コード例 #1
0
        public ActionResult Index(int MaSanPham, int page = 1, int pagesize = 3)
        {
            ViewBag.MaSanPham = MaSanPham;
            var dsBL = BinhLuanBUS.DanhSachBL(MaSanPham).ToPagedList(page, pagesize);

            return(View(dsBL));
        }
コード例 #2
0
 // GET: api/BinhLuanApi
 public IEnumerable <BinhLuan> Get(int maSanPham)
 {
     return(BinhLuanBUS.DanhSachBL(maSanPham));
 }