using ODMO.Commons.Interfaces; using MediatR; namespace ODMO.Application.Separar.Commands.Update { public class RemoveActiveQuestCommandHandler : IRequestHandler { private readonly IAccountCommandsRepository _repository; public RemoveActiveQuestCommandHandler(IAccountCommandsRepository repository) { _repository = repository; } public async Task Handle(RemoveActiveQuestCommand request, CancellationToken cancellationToken) { await _repository.RemoveActiveQuestAsync(request.ProgressQuestId); return Unit.Value; } } }