@{
properties = item.GetType().GetProperties();
int id = 0;
foreach (PropertyInfo property in properties)
{
if (property.Name.ToLower()=="id")
id =Convert.ToInt32(property.GetValue(item, null));
if (property.CustomAttributes.Any(w => w.AttributeType.Name == "DisplayAttribute"))
{
@property.GetValue(item, null)
}
}
if (id>0)
{
}
else
{
}
}
}
}
@code {
[Parameter]
public List ModelinComponent { get; set; } = new List();
[Parameter] public EventCallback OnMultipleOfThree { get; set; }
}