private Task Persist <TResource, TInput>(IEnumerable <object> events) { return(Persist(events.Select(e => new EventDto() { Name = _eventSerializer.Name <T, TResource, TInput>(e), Event = e }))); }
private Task Persist <TResource, TInput>(IEnumerable <object> events) { return(Persist(events.Select(e => new EventDto() { Name = _eventSerializer.Name <T, TResource, TInput>(e), Event = e }))); }