PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicWebAppImplementer/Models/RecipeLinkCourseModel.cs

16 lines
577 B
C#
Raw Normal View History

using PolyclinicContracts.ViewModels;
namespace PolyclinicWebAppImplementer.Models
{
public class RecipeLinkCourseModel
{
public List<RecipeViewModel> Recipes { get; set; } = new();
public List<CourseViewModel> Courses { get; set; } = new();
public int? RecipeId { get; set; }
public int? CourseId { get; set; }
public RecipeViewModel? Recipe { get; set; }
public CourseViewModel? Course { get; set; }
public List<(RecipeViewModel Recipe, CourseViewModel Course)> LinkedRecipes { get; set; } = new();
}
}