Complete Rebuild of Project from HelloWorld to Blazer WebApp
This commit is contained in:
8
Models/Books.cs
Normal file
8
Models/Books.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace SecDevOpsLab.Models;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
public class Book {
|
||||
public int Id { get; set; }
|
||||
[Required] public string Title { get; set; } = string.Empty;
|
||||
[Required] public string Author { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user