Ejemplo n.º 1
0
        public IEnumerable <StoreApp> GetChosenApps()
        {
            var list = _portalService.GetChosenApps();

            return
                (list.Select(
                     a =>
                     new StoreApp
            {
                Guid = a.Guid,
                Name = a.Name,
                Price = a.Price,
                Version = a.LatestVersion?.ToString()
            })
                 .ToList());
        }