Example #1
0
 public IActionResult AddImageLike([FromBody] PostLikes like)
 {
     try
     {
         return(Ok(_likesService.AddImageLike(like)));
     }
     catch (NegotiatedContentResultException)
     {
         return(StatusCode(409));
     }
 }