using System.ComponentModel.DataAnnotations; namespace VideoGameQuotes.Web.Models { public class EditCategoryModel { public int CategoryId { get; set; } [Required(ErrorMessage = "The category must have a name, queerball")] public string CategoryName { get; set; } } }