8.2 Building the Shopping Cart; Listing 8-15. The Contents of the CartIndexViewModel.cs File
parent
a24fe02bbd
commit
4436c60e79
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using SportsStore.Domain.Entities;
|
||||
|
||||
namespace SportsStore.WebUI.Models
|
||||
{
|
||||
public class CartIndexViewModel
|
||||
{
|
||||
public Cart Cart { get; set; }
|
||||
public string ReturnUrl { get; set; }
|
||||
}
|
||||
}
|
|
@ -138,6 +138,7 @@
|
|||
</Compile>
|
||||
<Compile Include="HtmlHelpers\PagingHelpers.cs" />
|
||||
<Compile Include="Infrastructure\NinjectDependencyResolver.cs" />
|
||||
<Compile Include="Models\CartIndexViewModel.cs" />
|
||||
<Compile Include="Models\PagingInfo.cs" />
|
||||
<Compile Include="Models\ProductsListViewModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
|
|
Loading…
Reference in New Issue