using ODMO.Commons.DTOs.Config; using ODMO.Commons.Interfaces; using MediatR; namespace ODMO.Application.Separar.Queries { public class MapMobsByIdQueryHandler : IRequestHandler> { private readonly IConfigQueriesRepository _repository; public MapMobsByIdQueryHandler(IConfigQueriesRepository repository) { _repository = repository; } public async Task> Handle(MapMobsByIdQuery request, CancellationToken cancellationToken) { return await _repository.GetMapMobsByIdAsync(request.MapId); } } }