using NorthwindAPI.Models; using NorthwindAPI.BusinessObject; using System.Collections.Generic; namespace NorthwindAPI.ViewModels.Base { /// <summary> /// Base class for ProductsForeachViewModel. Do not make changes to this class, /// instead, put additional code in the ProductsForeachViewModel class /// </summary> public class ProductsForeachViewModelBase { public List<Products> ProductsData { get; set; } public string[,] ProductsFieldNames { get; set; } public string FieldToSort { get; set; } public string FieldToSortWithOrder { get; set; } public string FieldSortOrder { get; set; } public int StartPage { get; set; } public int EndPage { get; set; } public int CurrentPage { get; set; } public int NumberOfPagesToShow { get; set; } public int TotalPages { get; set; } public List<string> UnsortableFields { get; set; } } }