cs11dotnet7/vscode/PracticalApps/Northwind.Mvc/Models/HomeIndexViewModel.cs

11 lines
192 B
C#
Raw Normal View History

2022-03-13 17:17:01 +01:00
using Packt.Shared; // Category, Product
namespace Northwind.Mvc.Models;
public record HomeIndexViewModel
(
int VisitorCount,
IList<Category> Categories,
IList<Product> Products
);