public int GetLikesDislikesCount(int jokeId, bool liked) { var jokesRepo = new JokesRepository(_connectionString); var result = jokesRepo.GetLikesDislikesCount(jokeId, liked); return(result); }
public int GetLikesDislikesCount(int jokeId, bool liked) { var jokesRepo = new JokesRepository(_connectionString); var result = jokesRepo.GetLikesDislikesCount(jokeId, liked); return(result); }