package de.fete.domain.port.in;

import de.fete.domain.model.CreateEventCommand;
import de.fete.domain.model.Event;

/** Inbound port for creating a new event. */
public interface CreateEventUseCase {

  /** Creates an event from the given command and returns the persisted event. */
  Event createEvent(CreateEventCommand command);
}
