public static Chronozoom.Entities.ContentItem CreateContentItem(IExhibitContentItemInfo eciInfo) { return new Chronozoom.Entities.ContentItem(eciInfo.ID, eciInfo.Title, eciInfo.Caption, eciInfo.Threshold, eciInfo.Regime, eciInfo.TimeUnit, eciInfo.ContentDate, eciInfo.ContentYear, eciInfo.MediaType, eciInfo.MediaBlobURL, eciInfo.MediaSource, eciInfo.Attribution, eciInfo.UniqueID, eciInfo.Order ?? short.MaxValue); }
public static Chronozoom.Entities.ContentItem CreateContentItem(IExhibitContentItemInfo eciInfo) { return(new Chronozoom.Entities.ContentItem(eciInfo.ID, eciInfo.Title, eciInfo.Caption, eciInfo.Threshold, eciInfo.Regime, eciInfo.TimeUnit, eciInfo.ContentDate, eciInfo.ContentYear, eciInfo.MediaType, eciInfo.MediaBlobURL, eciInfo.MediaSource, eciInfo.Attribution, eciInfo.UniqueID, eciInfo.Order ?? short.MaxValue)); }