Lots of fixed and stuff.

This commit is contained in:
Jamie.Rees 2016-11-16 14:20:13 +00:00
commit 7412655c5a
19 changed files with 725 additions and 284 deletions

View file

@ -108,5 +108,10 @@ namespace PlexRequests.Helpers
throw new ArgumentOutOfRangeException(nameof(name));
}
public static int All()
{
return Enum.GetValues(typeof(T)).Cast<int>().Sum();
}
}
}

View file

@ -59,6 +59,5 @@ namespace PlexRequests.Helpers.Permissions
[Display(Name = "Auto Approve Album Requests")]
AutoApproveAlbum = 256
}
}