Exemplo n.º 1
0
 public IActionResult AddCommentLike([FromBody] CommentLikes like)
 {
     try
     {
         return(Ok(_likesService.AddCommentLike(like)));
     }
     catch (NegotiatedContentResultException)
     {
         return(StatusCode(409));
     }
 }