コード例 #1
0
        public ActionResult CreateOrder()
        {
            string          id             = Request.QueryString["CommentId"].ToString();
            Guid            commentGuid    = Guid.Parse(id);
            IOrderManager   orderManager   = new OrderManager();
            ICommentManager commentManager = new CommentManager();
            CommentDTO      commentDTO     = commentManager.GetComment(commentGuid);

            orderManager.Relase(new OrderDTO()
            {
                CommentId  = commentDTO.CommentId,
                CreateTime = commentDTO.CreateTime,
                DemandId   = commentDTO.DemandId,
                OrderState = 100000,
                UserId     = commentDTO.UserId
            });
            return(RedirectToAction("SucessResult", "Home"));
        }
コード例 #2
0
 public void Edit(CommentDTO comment)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public void Delete(CommentDTO comment)
 {
     throw new NotImplementedException();
 }