Cases

Error executing template "Designs/exhibition_site/ecom/product/partials/case-details/MCH365-related-cases.cshtml"
System.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 Co3.MCH.Website.Frontend.Repositories.BaseRepository.GetAssetIds(Profile profile, String type, String cacheKey, MCH365ViewType viewType) in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Repositories\BaseRepository.cs:line 53
at Co3.MCH.Website.Frontend.Repositories.CaseRepository.GetCases(Profile profile, MCH365ViewType viewType) in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Repositories\CaseRepository.cs:line 95
at Co3.MCH.Website.Frontend.Services.MCH365.CaseService.GetCases(Profile profile, MCH365ViewType viewType) in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Services\MCH365\CaseService.cs:line 164
at Co3.MCH.Website.Frontend.Services.MCH365.CaseService.GetCaseProducts(Profile profile, MCH365ViewType viewType) in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Services\MCH365\CaseService.cs:line 178
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProfileProduct.get_Cases() in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProfileProduct.cs:line 51
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.CaseProduct.get_OtherCases() in C:\Users\ThomasLarsen\source\repos\co3.mch\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\CaseProduct.cs:line 159
at CompiledRazorTemplates.Dynamic.RazorEngine_dd54282be6b74560a15108898a0749f6.Execute() in E:\Websites\mch365.espresso5.dk\Files\Templates\Designs\exhibition_site\ecom\product\partials\case-details\MCH365-related-cases.cshtml:line 5
at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits ViewModelTemplate< CaseProduct > 2 @using Dynamicweb.Rendering 3 @using Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce 4 5 @if ( Model.OtherCases.Any() ) 6 { 7 <div class="row e-productlist-container mch365-productlist-hide-profileinfo"> 8 <div class="col-12 mt-3 mb-2"> 9 <h3 class="border-bottom pb-1">@Translate( "MCH365 - Cases details MoreProductsBy - Heading", "Flere cases fra" ) @Model.Profile.Company.Name</h3> 10 </div> 11 @foreach ( CaseProduct product in Model.OtherCases ) 12 { 13 <div class="col-12 col-sm-6 col-md-6 col-xl-4 mb-2"> 14 @product.ListItemHtml 15 </div> 16 } 17 </div> 18 } 19

This case is written by:

Global AGV

The World's Fastest and Easiest AGV Installation

Global AGV is a true game-changer in the field of AGV installations. What used to be a project for large companies, we have now made so simple that it can be installed in your production in just 2-3 days.

We have developed a simple standard solution that sets a new benchmark. The user-friendly software is inspired by LEGO® MINDSTORMS® programming and is designed to be as intuitive as a smartphone. This is precisely what makes Global AGV truly unique.

The need for special PLC skills to control and program the AGV is a thing of the past.

See profile

Meet us at FoodTech

Louise Munk Holme

Global AGV

Louise Munk Holme

Melanie Bruun Feldthaus

Global AGV

Melanie Bruun Feldthaus

Kent Ruseng Thomassen

Global AGV

Kent Ruseng Thomassen