Skip to content

Instantly share code, notes, and snippets.

@victorighalo
Created March 9, 2018 15:06
Show Gist options
  • Save victorighalo/6627028ec7a0fb7b22112921e9c3b0cf to your computer and use it in GitHub Desktop.
Save victorighalo/6627028ec7a0fb7b22112921e9c3b0cf to your computer and use it in GitHub Desktop.
Umbraco Contact Model
using System.ComponentModel.DataAnnotations;
namespace Wyzweb.Models
{
public class Contact
{
[Display(Name = "Full Name")]
[Required]
public string Fullname { get; set; }
[Display(Name = "Subject")]
[Required]
public string Subject { get; set; }
[Display(Name = "Message")]
[Required]
public string Message { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment