Beispiel #1
0
        public ActionResult <Like> GetLike([FromRoute] int id)
        {
            var like = likeRepository.GetById(id);

            if (like == null)
            {
                return(NotFound());
            }

            return(like);
        }