using ODMO.Commons.Repositories.Admin; using MediatR; namespace ODMO.Application.Admin.Commands { public class UpdateCloneConfigCommandHandler : IRequestHandler { private readonly IAdminCommandsRepository _repository; public UpdateCloneConfigCommandHandler(IAdminCommandsRepository repository) { _repository = repository; } public async Task Handle(UpdateCloneConfigCommand request, CancellationToken cancellationToken) { await _repository.UpdateCloneConfigAsync(request.Clone); return Unit.Value; } } }