using Portfolio.Domain.Features.Pokemon;
using Portfolio.Domain.Features.Pokemon_Subskills;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Portfolio.Application.Services.PokemonSubskillService
{
    public class PokemonSubskillService : IPokemonSubskillService
    {
        private readonly IPokemonSubskillRepository _pokemonSubskillRepository;

        public PokemonSubskillService(IPokemonSubskillRepository pokemonSubskillRepository)
        {
            _pokemonSubskillRepository = pokemonSubskillRepository;
        }
        public async Task<List<PokemonSubskill>> GetAllPokemonSubskillsAsync()
        {
            Console.WriteLine("Does this fire every time");
            return await _pokemonSubskillRepository.GetAllPokemonSubskillsAsync();
        }
    }
}
