package es.uv.dagarcos.master.service;

import es.uv.dagarcos.master.domain.MasterEvent;
import es.uv.dagarcos.master.repository.MasterEventRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MasterEventService {

    @Autowired
    private MasterEventRepository eventRepository;

    public MasterEvent save(MasterEvent event) {
        return eventRepository.save(event);
    }
}