And don't forget proper grammar!

This commit is contained in:
Michael 2017-03-21 11:27:17 -04:00
parent fdcf794eeb
commit 2cca556377

View file

@ -23,7 +23,7 @@ protected override void Seed(Project_Unite.Models.ApplicationDbContext context)
Description = "These are the admins of the website - This is a persistent group and cannot be deleted.", Description = "These are the admins of the website - This is a persistent group and cannot be deleted.",
Priority = context.Roles.Count() + 1, Priority = context.Roles.Count() + 1,
Name = "Administrators" Name = "Administrators"
}); };
foreach (var prop in adm.GetType().GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance)) foreach (var prop in adm.GetType().GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance))
{ {
if (prop.Name.StartsWith("Can") && prop.PropertyType == typeof(bool)) if (prop.Name.StartsWith("Can") && prop.PropertyType == typeof(bool))