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