You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
382 B
17 lines
382 B
namespace TP_Blazor.Pages;
|
|
|
|
public partial class Pets1
|
|
{
|
|
private List<Pet> pets = new()
|
|
{
|
|
new Pet { PetId = 2, Name = "Mr. Bigglesworth" },
|
|
new Pet { PetId = 4, Name = "Salem Saberhagen" },
|
|
new Pet { PetId = 7, Name = "K-9" }
|
|
};
|
|
|
|
private class Pet
|
|
{
|
|
public int PetId { get; set; }
|
|
public string? Name { get; set; }
|
|
}
|
|
} |