Esempio n. 1
0
        public void TestMethod5()
        {
            IReplyManager replyManager = new ReplyManager();

            replyManager.Relase(new Domain.DTO.ReplyDTO()
            {
                CommentId = Guid.Parse("d2326cb9-12c5-4236-a496-6f320fcbf1ea"),
                UserId    = Guid.Parse("d575d2d9-3a22-4465-9fe3-259ab0391988"),
                Content   = "231552",
            });
        }
Esempio n. 2
0
        public ActionResult RelaseReply(RelaseReplyViewModel model)
        {
            IReplyManager replyManager = new ReplyManager();

            replyManager.Relase(new ReplyDTO()
            {
                CommentId = model.CommentId,
                Content   = model.Content,
                UserId    = Guid.Parse(Session["UserId"].ToString())
            });
            return(View());
        }