Пример #1
0
 public StickerPackOutput(StickerPack stickerPack, string firstStickerPath, int stickersCount)
 {
     Id               = stickerPack.Id;
     Name             = stickerPack.Name;
     Alias            = stickerPack.Alias;
     Claps            = stickerPack.Claps;
     CreatedAt        = stickerPack.CreatedAt;
     CreatedBy        = new AdminOutput(stickerPack.CreatedBy);
     Tags             = stickerPack.Tags.Select(t => new TagOutput(t)).ToList();
     FirstStickerPath = firstStickerPath;
     StickersCount    = stickersCount;
 }