public ActionResult EvaluationList(int GoodsId) { var evaluations = goodsService.EvaluationList(GoodsId); var evaluationsDTO = evaluations.Select(item => new ViewModelEvaluation() { AdminId = item.AdminId, CustomerId = item.CustomerId, Evaluate = item.Evaluate, EvaluationId = item.EvaluationId, OrderId = item.OrderId, Reply = item.Reply, }).ToList(); return(View(evaluationsDTO)); }