Ejemplo n.º 1
0
        private static ItemStub GetStub(BaseItemDto item)
        {
            var stub = new ItemStub();

            stub.Id        = item.Id;
            stub.Name      = item.Name;
            stub.ImageType = ImageType.Primary;
            stub.ImageTag  = item.ImageTags.ContainsKey(ImageType.Primary) ? item.ImageTags[ImageType.Primary] : null;

            return(stub);
        }
Ejemplo n.º 2
0
        private static ItemStub GetStub(BaseItemDto item)
        {
            var stub = new ItemStub();

            stub.Id = item.Id;
            stub.Name = item.Name;
            stub.ImageType = ImageType.Primary;
            stub.ImageTag = item.ImageTags.ContainsKey(ImageType.Primary) ? item.ImageTags[ImageType.Primary] : null;

            return stub;
        }