Created
March 9, 2018 15:06
-
-
Save victorighalo/6627028ec7a0fb7b22112921e9c3b0cf to your computer and use it in GitHub Desktop.
Umbraco Contact Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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