adding initial project and solution files
This commit is contained in:
16
src/Web/ViewModels/CatalogIndex.cs
Normal file
16
src/Web/ViewModels/CatalogIndex.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.eShopWeb.Models;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.eShopWeb.ViewModels
|
||||
{
|
||||
public class CatalogIndex
|
||||
{
|
||||
public IEnumerable<CatalogItem> CatalogItems { get; set; }
|
||||
public IEnumerable<SelectListItem> Brands { get; set; }
|
||||
public IEnumerable<SelectListItem> Types { get; set; }
|
||||
public int? BrandFilterApplied { get; set; }
|
||||
public int? TypesFilterApplied { get; set; }
|
||||
public PaginationInfo PaginationInfo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user