diff --git a/RhSolutions.Api/Controllers/ProductsController.cs b/RhSolutions.Api/Controllers/ProductsController.cs index 34ed05b..eaedf9f 100644 --- a/RhSolutions.Api/Controllers/ProductsController.cs +++ b/RhSolutions.Api/Controllers/ProductsController.cs @@ -40,7 +40,7 @@ namespace RhSolutions.Api.Controllers .Select(g => new Product(g.Key) { Name = g.First().Name, - DeprecatedSkus = g.SelectMany(p => p.DeprecatedSkus).ToList(), + DeprecatedSkus = g.SelectMany(p => p.DeprecatedSkus).Distinct().ToList(), ProductLines = g.SelectMany(p => p.ProductLines).Distinct().ToList(), IsOnWarehouse = g.Any(p => p.IsOnWarehouse == true), ProductMeasure = g.First().ProductMeasure,