7.5.1.3 Adding the View Model Data; Listing 7-20. The Contents of the ProductListViewModel.cs File
This commit is contained in:
parent
cb3d151c6b
commit
3ab9977773
@ -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 ProductsListViewModel
|
||||
{
|
||||
public IEnumerable<Product> Products { get; set; }
|
||||
public PagingInfo PagingInfo { get; set; }
|
||||
}
|
||||
}
|
@ -124,6 +124,7 @@
|
||||
<Compile Include="HtmlHelpers\PagingHelpers.cs" />
|
||||
<Compile Include="Infrastructure\NinjectDependencyResolver.cs" />
|
||||
<Compile Include="Models\PagingInfo.cs" />
|
||||
<Compile Include="Models\ProductsListViewModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user