Ejemplo n.º 1
0
        public IActionResult AddComment([FromBody] ApiModels.ApiComment comment)
        {
            var commentModel = _commentMapper.ConverToDbModel(comment);

            _commentService.Insert(commentModel);
            return(Ok(comment));
        }