ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at DeaneApparel.Domain.Repositories.DeaneApparelCategoryProductRepository.RetrieveProductDetails(Int32 categoryId, Int32 siteId, Int32 currencyId, Boolean supportColourImages, Boolean flushCache) in C:\vsts-agent-win-x64-2.186.1\_work\220\s\DeaneApparel.Domain\Repositories\DeaneApparelCategoryProductRepository.cs:line 102 at DeaneApparel.Domain.Web.Services.DeaneApparelProductListDataCacheService.GetCategoryListingProducts(Int32 categoryId, Int32 siteId, Int32 currencyId, Boolean flushCache) in C:\vsts-agent-win-x64-2.186.1\_work\220\s\DeaneApparel.Domain.Web\Services\DeaneApparelProductListDataCacheService.cs:line 77 at DeaneApparel.Domain.Web.Services.DeaneApparelProductListDataCacheService.GetCategoryListingProducts(Int32 categoryId, Int32 siteId, Int32 currencyId) in C:\vsts-agent-win-x64-2.186.1\_work\220\s\DeaneApparel.Domain.Web\Services\DeaneApparelProductListDataCacheService.cs:line 113 at DeaneApparel.UI.Controllers.ProductListController.List(CategoryListingParametersViewModel viewModel) in C:\vsts-agent-win-x64-2.186.1\_work\220\s\DeaneApparel.UI\Controllers\ProductListController.cs:line 296 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.b__0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.b__4() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.b__1(IAsyncResult asyncResult)