public FeedData(FeedInfo feed) : this() { this.FeedId = feed.FeedId; this.Action = feed.Action; this.Description = feed.Description; this.Source = new SourceData(feed.SourceId, feed.SourceTypeName, feed.SourceName); this.CreatedBy = new UserData(feed.CreatedBy, feed.CreatedByName, feed.CreatedByEmail); this.CreatedDate = feed.CreatedDate; foreach (var source in feed.Sources) { this.Sources.Add(new FeedSourceData(source)); } }