Exemplo n.º 1
0
        public ActionResult Replay(Guid orderId, List <EvaluateReplayViewModel> replayList)
        {
            List <Evaluate.Models.Evaluate> evaluates = new List <Evaluate.Models.Evaluate>();

            if (replayList != null)
            {
                foreach (var replay in replayList)
                {
                    evaluates.Add(new Evaluate.Models.Evaluate
                    {
                        Id           = replay.Id,
                        ReplyContent = replay.ReplayContent
                    });
                }
            }
            _evaluateService.ReplayOrderEvaluates(evaluates, orderId, OrderProcessModule.Key);

            var result = new DataJsonResult();

            return(Json(result));
        }