mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
And don't forget proper grammar!
This commit is contained in:
parent
fdcf794eeb
commit
2cca556377
1 changed files with 1 additions and 1 deletions
|
@ -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.",
|
||||
Priority = context.Roles.Count() + 1,
|
||||
Name = "Administrators"
|
||||
});
|
||||
};
|
||||
foreach (var prop in adm.GetType().GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance))
|
||||
{
|
||||
if (prop.Name.StartsWith("Can") && prop.PropertyType == typeof(bool))
|
||||
|
|
Loading…
Reference in a new issue