public RestEventManager(ILogger <RestEventManager> logger, EventRepository events) { _logger = logger; _events = events; }