public static HistoryEventDto FromDomain(ParsedHistoryEvent historyEvent) { var result = SimpleMapper.Map(historyEvent, new HistoryEventDto { EventId = historyEvent.Id }); return(result); }
public static HistoryEventDto FromHistoryEvent(ParsedHistoryEvent historyEvent) { return(SimpleMapper.Map(historyEvent, new HistoryEventDto { EventId = historyEvent.Id })); }