Models
Data Annotations
Include 'using System.ComponentModel.DataAnnotations' inside your model class to use data annotations
| [Display(Name="Category Name")] | Update the value of the name displayed in your view. (when using asp-for tag helper) |
| [Key] | Automatically create an idendity column and will create an Id value automatically. |
| [Required] | This will require a value for the applicable property (if cannot be null) |
