public ActionResult Index()
 {
     var model = new HomeViewModel()
     {
         news = nd.Get().ToList().OrderByDescending(a => a.wdate),
         product = pd.Get().ToList().Where(a => a.isdel == 0)
     };
     return View(model);
 }
 public ActionResult Index()
 {
     var model = new HomeViewModel()
     {
         news = nd.Get().ToList().Where(a => a.isdel == 0),
         productClass = pcd.Get().ToList().Where(a => a.isdel == 0 && a.root == 0),
         product = pd.Get().ToList().Where(a => a.isdel == 0),
         Bonus = bonus.Get().ToList(),
         Banner = band.Get().ToList()
     };
     return View(model);
 }