public IEnumerable <SanPhamModel> SanPhamtheoloaicon2(int pageIndex, int pageSize, string link) { long total = 0; var kq = isp.SanphamtheoLoaiCon2(pageIndex, pageSize, link, out total); foreach (var item in kq) { item.Total = total; } return(kq); }
public IEnumerable <SanPhamModel> SanPhamtheoloaicon2(int pageIndex, int pageSize, string link) { long total = 0; var kq = isp.SanphamtheoLoaiCon2(pageIndex, pageSize, link, out total); foreach (var item in kq) { item.Total = total; } return(kq); }