Exemplo n.º 1
0
        public PartialViewResult CreateComment(int entryId, string message)
        {
            var comment = queries.CreateComment(entryId, message);

            return(PartialView("Comment", comment));
        }
Exemplo n.º 2
0
 public CommentForApiContract PostNewComment(int id, CommentForApiContract contract) => _queries.CreateComment(id, contract);
Exemplo n.º 3
0
 public CommentForApiContract PostNewComment(int id, CommentForApiContract contract)
 {
     return(queries.CreateComment(id, contract));
 }