Add administrator editing

This commit is contained in:
2016-09-27 11:56:10 -04:00
parent 75b7c02979
commit 3caf0bd766
13 changed files with 207 additions and 59 deletions
@@ -14,6 +14,9 @@ namespace InventoryTraker.Web.Models
[RegularExpression(@"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}", ErrorMessage = "Must be an email address")]
public string Email { get; set; }
//[Required]
public bool Administrator { get; set; }
[DataType(DataType.Password)]
public string Password { get; set; }