package ru.kayashov.karthall.service;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import ru.kayashov.karthall.model.entity.Event;

import java.util.concurrent.ExecutorService;

@Slf4j
@Service
@RequiredArgsConstructor
public class EventService {

    private final ExecutorService executorService;

//    public void createEvent(Event event) {
//        executorService.submit(() -> {eventRepository.save(event);});
//    }

}
