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.
iot/projects/Infrastructure/Application/EditModel.cs

18 lines
369 B

using Microsoft.AspNetCore.Mvc;
using System;
using System.ComponentModel.DataAnnotations;
namespace Infrastructure.Application
{
public class EditModel
{
public EditModel()
{
this.Id = Guid.NewGuid();
}
[HiddenInput(DisplayValue = false)]
[ScaffoldColumn(true)]
public Guid Id { get; set; }
}
}