teddysmithdev / pokemon-review-api

Review and rate your favorite pokemon (in .NET Core Web API)
232 stars 115 forks source link

Unnecessary mapper in ReviewRepository #5

Open markgtaxumo opened 11 months ago

markgtaxumo commented 11 months ago

Hello, I've been following your tutorial about asp.net web api and I've noticed that the mapper isn't really used in the ReviewRepository.cs

private readonly Data Context _context;
private readonly IMapper _mapper; // not used

public ReviewRepository(IPokemonRepository pokemonRepository, IMapper mapper)
{
    _pokemonRepository = pokemonRepository;
    _mapper = mapper;
}
osmansyed1 commented 3 weeks ago

agree