using Managing.Application.Abstractions; using Managing.Application.ManageBot.Commands; using MediatR; namespace Managing.Application.ManageBot { public class GetActiveBotsCommandHandler(IBotService botService) : IRequestHandler> { public Task> Handle(GetActiveBotsCommand request, CancellationToken cancellationToken) { return Task.FromResult(botService.GetActiveBots()); } } }