public void UpdateOEmbedInfo(OEmbedInfo oEmbed) { this.Update(new StockPhotoOEmbedInfoUpdated { OEmbed = oEmbed }); }
public void ReplacePhoto(int indexOfPhoto, Guid newStockPhotoId, string newPageUrl, OEmbedInfo oEmbed) { this.Update(new DrawingSessionPhotoReplaced { IndexOfPhoto = indexOfPhoto, NewStockPhotoId = newStockPhotoId, NewPageUrl = newPageUrl, OEmbed = oEmbed, }); }
public void AddPhoto(Guid stockPhotoId, string pageUrl, OEmbedInfo oEmbed, TimeSpan duration) { this.Update(new DrawingSessionPhotoAdded { StockPhotoId = stockPhotoId, PageUrl = pageUrl, OEmbed = oEmbed, Duration = duration, Index = photoCount, }); }