using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using NorthwindRazorAPI.Domain; using NorthwindRazorAPI.BusinessObject; namespace NorthwindRazor.PartialModels { public class AddEditProductsPartialModel { [BindProperty] public NorthwindRazorAPI.BusinessObject.Products Products { get; set; } [BindProperty] public List<Suppliers> SuppliersDropDownListData { get; set; } [BindProperty] public List<Categories> CategoriesDropDownListData { get; set; } public CrudOperation Operation; public string ReturnUrl; public AddEditProductsPartialModel() { } } }