move model declaration outside of clode block

This commit is contained in:
Lee Dumond 2019-04-18 10:47:21 -05:00
parent e781d00419
commit b8dbfa3104

View File

@ -1,6 +1,7 @@
@{
@model Microsoft.eShopOnContainers.WebMVC.ViewModels.CatalogViewModels.IndexViewModel
@{
ViewData["Title"] = "Catalog";
@model Microsoft.eShopOnContainers.WebMVC.ViewModels.CatalogViewModels.IndexViewModel
}
<section class="esh-catalog-hero">
<div class="container">