PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicWebAppSuretor/Models/SelectItems.cs

21 lines
357 B
C#

namespace PolyclinicWebAppSuretor.Models
{
public class SelectItems
{
public List<string> Items
{
get; set;
}
string[] arr = ["1", "2", "3"];
public void AddItems()
{
foreach (var item in arr)
{
Items.Add(item);
}
}
}
}