public DeleteLeagueByIdCommandHandler(ILeagueRepositoryAsync leagueRepository) { _leagueRepository = leagueRepository; }
public UpdateLeagueCommandHandler(ILeagueRepositoryAsync leagueRepository) { _leagueRepository = leagueRepository; }
public GetProductByIdQueryHandler(ILeagueRepositoryAsync leagueRepository) { _leagueRepository = leagueRepository; }
public CreateLeagueCommandHandler(ILeagueRepositoryAsync leagueRepository, IMapper mapper) { _leagueRepository = leagueRepository; _mapper = mapper; }
public GetAllLeaguesQueryHandler(ILeagueRepositoryAsync leagueRepository, IMapper mapper) { _leagueRepository = leagueRepository; _mapper = mapper; }