Exemple #1
0
        public IQueryable <Like> GetLikesBySong([FromRoute] int id)
        {
            var likes = likeRepository.GetLikesBySongId(id);

            if (likes == null)
            {
                throw new ArgumentException();
            }

            return(likes);
        }