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

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