Пример #1
0
 private Task Persist <TResource, TInput>(IEnumerable <object> events)
 {
     return(Persist(events.Select(e => new EventDto()
     {
         Name = _eventSerializer.Name <T, TResource, TInput>(e), Event = e
     })));
 }