Exemplo n.º 1
0
        public IActionResult GetLikes(int jokeId)
        {
            JokesRepository        rep  = new JokesRepository(_connString);
            List <UsersLikedJokes> like = rep.GetLikes(jokeId);

            return(Json(like.Count));
        }