Пример #1
0
 public PhotoGalleryAddOrUpdateResponseDto(Coywolf.Models.PhotoGallery entity)
     : base(entity)
 {
 }
Пример #2
0
 public PhotoGalleryDto(Coywolf.Models.PhotoGallery entity)
 {
     Id     = entity.Id;
     Name   = entity.Name;
     Photos = entity.PhotoGalleryDigitalAssets.Select(x => new DigitalAssetDto(x.DigitalAsset)).ToList();
 }