public ActionResult Goods_Assess_table()
        {
            Goods_AssessManager game = new Goods_AssessManager();
            var da = game.GetALLAssess();

            return(PartialView(da));
        }
        public ActionResult Comment_Goods_Dele()
        {
            Goods_AssessManager gam = new Goods_AssessManager();
            var da = gam.GetALLAssess();

            return(View(da));
        }
        public ActionResult Del_More(string[] Asid)
        {
            foreach (var i in Asid)
            {
                int d  = Convert.ToInt32(i);
                var da = db.Goods_Assess.Where(o => o.Assess_id == d).FirstOrDefault();
                db.Goods_Assess.Remove(da);
            }
            db.SaveChanges();
            Goods_AssessManager game = new Goods_AssessManager();
            var da1 = game.GetALLAssess();

            return(PartialView("Goods_Assess_table", da1));
        }
        public ActionResult Shoushuo_Assess(string user_name, string Good_name, string Assess_intro)
        {
            Goods_AssessManager game = new Goods_AssessManager();
            var da = game.GetALLAssess();

            if (user_name.Trim() != "")
            {
                da = da.Where(o => o.User.User_detail.User_name.IndexOf(user_name) >= 0);
            }
            if (Good_name.Trim() != "")
            {
                da = da.Where(o => o.Goods.Goods_name.IndexOf(Good_name) >= 0);
            }
            if (Assess_intro.Trim() != "")
            {
                da = da.Where(o => o.Assess_intro.IndexOf(Assess_intro) >= 0);
            }
            return(PartialView("Goods_Assess_table", da));
        }